P

Priyanka Tomar • 35.28K Points
Coach

Q. Which of the following statements is correct?

  • (A) Data items in a class must be private.
  • (B) Both data and functions can be either private or public.
  • (C) Member functions of a class must be private.
  • (D) Constructor of a class cannot be private.
  • Correct Answer - Option(B)
  • Views: 93
  • Filed under category C++

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics