Java 运算符

instanceof 运算符

检查对象是否是一个特定类型(类类型或接口类型)。

(Object reference variable) instanceof (class/interface type)

results matching ""

    No results matching ""