Multiple choice

The protected data members of a base class become ___________ when privately derivated in the derived class.

  1. protected

  2. public

  3. private

  4. not inherited

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The protected data members of a class become private when privately inherited in the derived class to maintain data hiding property of OOP.