"hello" instanceof Object
时间: 2023-07-31 10:05:12 浏览: 80
Java instanceof 运算符的使用方法
回答: 根据引用\[2\]中的解释,在Java语言中,所有类都是Object的子类,而"hello"是字符串类型(String),String是Object的子类,所以"hello" instanceof Object的返回值为true。
#### 引用[.reference_title]
- *1* *3* [JavaScript中typeof,instanceof,Object.prototype.toString](https://blog.csdn.net/u014465934/article/details/88937288)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [一日十题(29日)](https://blog.csdn.net/qq_40883945/article/details/104591610)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文