摘要: 转自https://www.cnblogs.com/yingyigongzi/p/9293470.html 方式1:通过Object类的getObject()方法 Person p = new Person(); Class c = p.getClass(); 方式2: 通过 类名.class 获取 阅读全文
posted @ 2020-11-15 21:48 voyage1969 阅读(1502) 评论(0) 推荐(0) 编辑