讨论下类加载的顺序问题
摘要:
我们先看一个例子: class A3{ B3 b3 = new B3(); static C3 c4 = new C3(); static{ System.out.println("A3"); } public A3() { System.out.println("A3-init"); } } cl 阅读全文
posted @ 2020-08-19 10:23 MaXianZhe 阅读(136) 评论(0) 推荐(0)