Multiple choice

A member function

  1. is always public

  2. is always private

  3. can be public or private

  4. cannot be defined

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

Member functions can have different access modifiers, such as public, private, or protected, to control their visibility and accessibility.