Start learning →

Which access modifier besides private cannot apply to an outer class?

Apackage
Bdefault
Cprotected
Dpublic
Answer & Solution
Correct answer: C. protected
Outer classes cannot be declared with the protected access specifier in Java.
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 →