0%

Java/Java_instanceof

instanceof关键字用法

instanceof 是java的一个二元操作符,类似于==,>,<等操作符。
instanceof 是java的保留关键字,它的作用是测试它左边的对象是否是它右边的类的实例 ,返回boolean的数据类型