Private data can be inherited.
-
True
-
False
-
Sometimes true
-
None of the above
B
Correct answer
Explanation
Private members are NOT accessible in derived classes through inheritance. They remain private to the base class. Inheritance gives access to public and protected members, not private ones.