说人话儿子继承父亲的数据方法可以重写扩充方法创建对象说人话 就是放入数据 这些方法在类图纸表上packagecom.pioneak._06oop.entity;publicclassStudent{intage;Stringname;publicvoidstudy(){System.out.println(正在学习);}}packagecom.pioneak._06oop.entity;publicclassStudentSonextendsStudent{Overridepublicvoidstudy(){super.study();System.out.println(我不要学习);}}packagecom.pioneak._06oop.entity;publicclassStudentSonextendsStudent{Overridepublicvoidstudy(){super.study();System.out.println(我不要学习);}}