使用super关键字,super代表父类对象;
范围: 只能在子类中使用, 不能使用在static修饰的方法中
子类访问父类成员
a.访问父类构造方法
super(); ------>在子类构造方法中调用且必须是{该方法中}第一句
super(name);
b.访问父类属性
super.name;
c.访问父类方法
super.print();