Multiple choice

Private data can be inherited.

  1. True

  2. False

  3. Sometimes true

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.