摘要:
1 public class Test 2 { 3 4 public static void main(String args[]) 5 { 6 new SonClass(); 7 } 8 } 9 class FatherClass10 {11 FatherClass()//父类的构造方法12 {13 System.out.println("This is Father Class.");14 }15 }16 class SonClass extends FatherClass17 { //子... 阅读全文