Implicit super constructor Car() is undefined for default constructor. Must define an explicit const

Error message: Implicit super constructor Car () is undefined for default constructor Must define an explicit constructor..
Occurs when inherited from the parent class Implicit super constructor Car () is undefined for default constructor. Must define an explicit error constructor, the Here Insert Picture Description
discovery is the parent class because writing has argument constructor, not write without cause argument constructor, so the parent writing class constructor with no arguments like.

Released two original articles · won praise 0 · Views 104

Guess you like

Origin blog.csdn.net/weixin_43986898/article/details/104237894