小学生类与大学生类 /** * 小学生 * @author lqy * */ public class SmallStudent { public String sex ; public void study() { System. out .println( " 学习小学课本 " ); } public String getSex() { return this . sex ; } } /** * 大学生类 * @author lqy * */ public class BigStudent { public String sex ; public void study() { System. out .println( " 学习大学课本 " ); } public String getSex() { return this . sex ; } } 请用继承的思想,改写上述的类。要求性别属性在构造函数中初始化。