KnowledgeBoat Logo
|

Computer Applications

What will be the scope of a private class?

Encapsulation & Inheritance in Java

3 Likes

Answer

A top-level class can't be declared as private. Only inner or nested classes can be private.

Answered By

2 Likes


Related Questions