KnowledgeBoat Logo
|

Computer Applications

What will be the scope of a protected class ?

Encapsulation & Inheritance in Java

5 Likes

Answer

The scope of a protected class is protected. It can be accessed from all the classes within the same package as well as from the sub classes in the other packages.

Answered By

4 Likes


Related Questions