If the superclass has no default constructor and the subclass constructor does not call another superclass constructor explicitly, then the Java compiler reports an error.

 
  • (如果父类没有默认构造函数,子类的构造函数没有显式调用其它父类构造函数,则编译器会报错。)
今日热词
目录 附录 查词历史