关键字:A instanceof 基础数据类型包装类
如:
String name = "如意";
System.out.print(name instanceof String);//判断name类型是否为String,返回true或false
更多推荐
Java 判断数据是哪种数据类型
关键字:A instanceof 基础数据类型包装类
如:
String name = "如意";
System.out.print(name instanceof String);//判断name类型是否为String,返回true或false
更多推荐
Java 判断数据是哪种数据类型
发布评论