摘要:
class A { void foo() { System.out.println("foo() in A"); }//重载 void foo(int a) { System.out.println("foo(int a) in A"); } ... 阅读全文
摘要:
class A { static int cnt = 0; static { System.out.println("a()"); } int a = 1; A() { System.out.println("A()"); Sy... 阅读全文