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.

Authoritative Definition

Wikipedia does not necessarily offer the best fitting definition of a concept. The exact meaning we attribute to the concept of Access Modifier is based on principled authoritative sources such as:

Misconceptions about Access Modifier
5 documented Misconceptions

Check Yourself

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.