摘要: 一、instanceof 关键字 instanceof 关键字用于判断某个实例是否是某个类的实例化对象,形如: String.class instanceof Class "test" instanceof String 二、isInstance()方法 isInstance是Class类中的方法, 阅读全文
posted @ 2019-10-18 16:37 淮 阅读(4211) 评论(0) 推荐(0) 编辑