0
Base constructor
Is the base constructor always called when a derived class is instantiated? If so, is this why you can upcast to base class or downcast to derived class? https://code.sololearn.com/c35dnxIh68Em/?ref=app
1 Réponse
+ 2
No when you create ur own default constructor it is not called but the constructor made by you and here you are not making any objects of Animal constructor also