3.2 动态加载类

Class.forName 是一个静态方法,返回指定 全限定类名class 对象,其作用简单记忆为 get class for name,上节中,通过 forName 方法简化了 类加载器 的使用。

results matching ""

    No results matching ""