Start learning →

Which access specifier restricts access exclusively to its own class?

APrivate
BDefault
CProtected
DPublic
Answer & Solution
Correct answer: A. Private
The private specifier restricts member access strictly to the class itself.
Practise this question with Quill — ICSE Class 10 →

Keep practising Classes, Encapsulation and Scope

Browse all Classes, Encapsulation and Scope questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Classes, Encapsulation and Scope lesson →