1.

What should we do to make a data member or a method member of a class visible only within the class?

Answer»

To make a data member or method of a class visible only within the class. add the keyword private before its declaration.



Discussion

No Comment Found

Related InterviewSolutions