Integer i ;
if (i instanceof Integer) {
System.out.println("判断了是整型");
}
注:必须为封装类型
Integer i ;
if (i instanceof Integer) {
System.out.println("判断了是整型");
}
注:必须为封装类型
1129
783

被折叠的 条评论
为什么被折叠?