ICSE Class 10 Computer Applications Question 3 of 17

Encapsulation — Question 7

Back to all questions
7
Question

Question 6(b)

What will be the scope of a protected class ?

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.