Inheritance | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
1st Aug 2018, 6:49 PM
Ketan Lalcheta
Ketan Lalcheta - avatar