+ 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 ответ
1st Aug 2018, 6:49 PM
Ketan Lalcheta
Ketan Lalcheta - avatar