代码
提交代码
public class InstanceOfOperators1 {
public static void main(String[] args) {
String name = "imooc";
boolean b = name instanceof String;
System.out.println("结果为:" + b);
}
}
运行结果