+ 1
Is it true a derived class does not inherit base class constructor and destructor?
3 Respuestas
+ 5
Yes, but when a subclass is instantiated, the standard behaviour is for the default constructor of the base class to be called automatically. In this way, the base constructor can initialise the base class before the subclass's constructor is executed.
+ 1
yes.
constructor never become a part of child class
0
that is really confusing