日期:2014-05-20 浏览次数:20659 次
class A { public A() { System.out.println("I am a"); } public static void main(String arg[]) { A a = new A(); //B b = new B(); C c = new C(); D d = new D(); } class B { public B() { System.out.println("I am b"); } } static class C { public C() { System.out.println("I am c"); } } } class D { public D() { System.out.println("I am d"); } }