Multiple choice

Methods are generally

  1. private

  2. public

  3. protected

  4. none of the above

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

Methods (member functions) are typically declared public so they can be called from outside the class to perform operations on the object's data. Private methods exist but are less common.