Java   View all facts   Glossary   Help
access mode
Next kbTopaction    UpkbTop    Previous kbTopabstraction   

access mode comparison table
Subject is a subtopic of has definition
default access of a classClassesThe 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 variableAccess ControlThe 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 accessAccess ControlThe access mode of methods or variables specified by the keyword "private"; access is limited to objects in the same class only
protected accessAccess ControlThe 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 accessAccess ControlThe access mode of classes, methods or variables specified by the keyword "public"; access is granted to any object

Next kbTopaction    UpkbTop    Previous kbTopabstraction