What does the instanceof keyword do?单项选择题

A

It converts an object to a primitive data type.

B

It checks if an object belongs to a specific class

C

It is used to create a new instance of a class.

D

It is used to declare a new instance variable.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!