1.子类会默认调用父类的无参构造方法举例来看:public class Derived extends Base { public Derived (String s) { System.out.println("这是子类的...
java子类调用父类构造方法 来源:https://www.cnblogs.com/sunnychuh/archive/2011/09/09/217213