+ 3

The derived class inherits also privated members of base class ?

2nd May 2017, 9:14 AM
De Vinci
2 Answers
+ 3
No the derived class doesn't have the private members of the base class in their visibility . To access those need to call getters of the parent class
2nd May 2017, 7:33 PM
Yash Singhal
Yash Singhal - avatar
0
Qqwaaaqq weqaaaqaaa
6th May 2018, 4:33 AM
Karthik P
Karthik P - avatar