今天写一个有关继承的代码时遇到了这个问题:
Implicit super constructor XX() is undefined. Must explicitly invoke another constructor.
public class Parent {
String name;
Parent(String name){
this.name = name;
}
}
class Son extends P
今天写一个有关继承的代码时遇到了这个问题:
Implicit super constructor XX() is undefined. Must explicitly invoke another constructor.
public class Parent {
String name;
Parent(String name){
this.name = name;
}
}
class Son extends P