Inheritance | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

Inheritance

When we instantiate a derived class and both the constructors of the base class and derived class need parameters, how do we pass both arguments to the object?

1st Aug 2018, 5:34 PM
Moses Odhiambo
Moses Odhiambo - avatar
1 Réponse
1st Aug 2018, 6:49 PM
Ketan Lalcheta
Ketan Lalcheta - avatar