Java View all facts Glossary Help |
access mode |
access mode comparison table |
Subject | is a subtopic of | has definition |
---|---|---|
default access of a class | Classes | The access mode of a class that is not declared public; access is limited to the package in which the class was declared |
default access of a method or variable | Access Control | The access mode of methods or variables that do not have an explicit access modifier; access is limited to objects in the same class (and subclasses in the same package), in the same compilation unit, and in the same package |
private access | Access Control | The access mode of methods or variables specified by the keyword "private"; access is limited to objects in the same class only |
protected access | Access Control | The access mode of methods or variables specified by the keyword "private"; access is limited to objects in the same class (and subclasses in any package), in the same compilation unit, and in the same package |
public access | Access Control | The access mode of classes, methods or variables specified by the keyword "public"; access is granted to any object |
Next kbTop: action Up: kbTop Previous kbTop: abstraction