ICSE Class 10 Computer Applications Question 29 of 43

User-Defined Methods — Question 29

Back to all questions
29
Question

Question 27

Members of a class specified as private are accessible only to the methods of the class. (True/False)

Answer

True

Reason — The data members declared as 'private' can only be accessed by the member methods of the same class.