-
If a method is declared as protected, where may the method be accessed
A protected method may only be accessed by classes or interfaces of the same package orby subclasses of the class in which it is declared.
A protected method may only be accessed by classes or interfaces of the same package orby subclasses of the class in which it is declared.
Please Turn OFF your ad blocker
- OR -
LOGIN to continue using GeekInterview website.