java类加载器构造
java类加载器结构
<p>
public class classerloadertest{ // 清单 1. 演示类加载器的树状组织结构 public static void main(string[] args) { classloader loader = classerloadertest.class.getclassloader(); while (loader != null) { system.out.println(loader.tostring()); loader = loader.getparent(); } }}
相关链接
我才是粽子
13 years, 2 months ago