Interviews2 answers
Are private class-level variables inherited?
2 Answers
No , We can not inherite private members
Ramesh RajaPosted Apr 24, 2016, 9:28 AM EDT
Yes, but they are not accessible, so looking at it you can honestly say that they are not inherited. But they are.
joby peterPosted Jul 13, 2006, 1:40 AM EDT