什么时候需要用super


1、子类构造函数调用父类构造函数用super
2、子类重写(覆盖)父类方法后,若想调用父类中被重写的方法,用super
3、未被重写的方法可以直接调用。
原文地址:https://www.cnblogs.com/yanze/p/10063709.html