![]() |
subject > programming language construct > keyword > Java keyword > Java access control keyword > protected |
![]() ![]() | ||||
protected | ||||
subject | fact |
protected | is a subtopic of The Basics of Java | ![]() |
is an instance of Java access control keyword | ![]() | |
is used to declare protected method | ![]() | |
Java access control keyword | has purpose to control which other code can have access to a method or variable | ![]() |
precedes the definition of a method, instance variable or class variable | ![]() |