摘要: @Test /** * 获得Class对象 * * 1.通过类名.class * * 2.对象.getClass() * * 3.Class.forName(); */ public void demo1() throws ClassNotFoundException{ // 1.通过类名.clas 阅读全文
posted @ 2020-02-22 22:12 shouyaya 阅读(121) 评论(0) 推荐(0)