Multiple choice

A private member can be accessed only by the

  1. member functions

  2. member functions and friends of its class

  3. member functions and derived class member functions

  4. static functions

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

Yes, it is correct for class access specifiers.