摘要: 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 { //子... 阅读全文
posted @ 2013-11-05 11:06 soul390 阅读(374) 评论(0) 推荐(0) 编辑