Multiple choice

Which of the following visibilities in C++ could not be inherited either using public or private derivation?

  1. Protected

  2. Private

  3. Public

  4. None of these

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

Private members of a base class cannot be inheriated either by using public or private derivation.