摘要: import java.lang.reflect.Method; public class ClassTest { public static void main(String[] args) { Method[] methods = Class.class.getDeclaredMethods() 阅读全文
posted @ 2022-05-19 15:04 -和时间赛跑- 阅读(127) 评论(0) 推荐(0) 编辑
摘要: import java.io.File; import java.net.URL; import java.net.URLClassLoader; /** 类加载器 一 类加载器机制 1 所有的类都有类加载器加载 2 同一个类的标准 java: 包名 + 类名(全限定名) JVM: 类加载器 + 包 阅读全文
posted @ 2022-05-19 12:32 -和时间赛跑- 阅读(39) 评论(0) 推荐(0) 编辑