❮ Java Keywords
SecondDefinition and Usage
The public keyword is an access modifier used for classes, attributes, methods and constructors, making them accessible by any other class.
Related Pages
Read more about modifiers in our Java Modifiers Tutorial .
❮ Java Keywords