判断对象的类型

来源:互联网 发布:学生成绩管理c语言代码 编辑:程序博客网 时间:2024/05/16 17:21

判断对象的类型

String s = "I AM an Object!";
boolean isObject = s instanceof Object;
 
原创粉丝点击