bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/Java/Java Reference
Java•Java Reference

Java protected Keyword

❮ Java Keywords

Student

Definition and Usage

The protected keyword is an access modifier used for attributes, methods and constructors, making them accessible in the same package and subclasses.

Related Pages

Read more about modifiers in our Java Modifiers Tutorial .

❮ Java Keywords

Previous

Java private Keyword

Next

Java public Keyword