![]() |
syntactic unit > keyword > access modifier > public |
![]() ![]() | ||||
public | ||||
subject | fact |
public | declares public access | ![]() |
has definition A keyword that indicates that a method, class or variable may be accessed by any object | ![]() | |
is a subtopic of Access Control | ![]() | |
is an instance of access modifier | ![]() | |
is used to declare a public class, public method or public variable ![]() | ![]() | |
modifies methods, classes, and variables | ![]() | |
access modifier | 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 ![]() | ![]() | |
see also access mode | ![]() | |
syntactic unit | has syntax rule bold = mandatory | ![]() |