Java View all facts Glossary Help |
syntactic unit > keyword > access modifier |
access modifier (access specifier, visibility modifier) | ||||
subject | fact |
access modifier | has definition A keyword that specifies how restricted the access is to a class or interface or variable or method | |
has purpose to control which other code can have access to a method or variable | ||
is a subtopic of Access Control | ||
is partitioned into private, protected, public | ||
is a kind of keyword | ||
precedes the definition of a method, instance variable or class variable | ||
see also access mode | ||
is a synonym of access specifier | ||
is a synonym of visibility modifier | ||
syntactic unit | has syntax rule bold = mandatory |
Kinds of access modifier :