摘要: class类的获取 1.调用运行类本身 Class clazz = String.getClass(); System.out.print(clazz.getName()); 2.调用运行类的对象获取 String str = new String(); Class clazz = str.ge... 阅读全文
posted @ 2016-07-12 22:04 xzcl 阅读(122) 评论(0) 推荐(0)