Ad Code

Method is declared as protected where can be the method accessed?


If a method is declared as protected where can be the method accessed?

Accessible only to the class itself and to its subclasses or other classes in the same package.
Reactions

Post a Comment

0 Comments