摘要: 目录获得一个类的class对象有哪些方式?1.使用.class属性:2.使用Class.forName方法:3.通过实例的getClass方法:4.通过类加载器:5.通过数组的getClass方法:6.通过Thread.currentThread().getContextClassLoader(). 阅读全文
posted @ 2024-11-19 19:29 curry库-04049 阅读(71) 评论(0) 推荐(0)