Access Modifier
An access modifier is a piece of code used to specify the access permissions of a name.
Related concepts: Name
Closest Wikipedia entry: Access modifiers — Access modifiers (or access specifiers) are keywords in object-oriented languages that set the accessibility of classes, methods, and other members. Access modifiers are a specific part of programming language syntax used to facilitate the encapsulation of components. In C++, there are only three access modifiers.
Misconceptions about Access Modifier5 documented Misconceptions
Check YourselfControlledLocalAccess — Java
One can control access to local variables using access modifiersPrivateFieldsImplyImmutability — Java
A class where all fields are private is immutablePrivateFromOtherInstance — Java
An object cannot access private members of other objects of the same classPrivateFromStatic — Java
Static methods cannot access private members of instances of same classPrivateMeansFinal — Java
A private field cannot be changed