What Does Accessible Member Mean?
An accessible member works alongside access specifiers which permit access to particular data based on the language it specifies. A normal set of access specifiers for class members or accessible members include:
- Private - Restricts access to the class itself.
- Protected - Allows the class and each subclass access to the member.
- Public - Any code is able to access the member using the member name.
Accessible members control how classes inherit constraints and they separate class interfaces from class implementations. Some accessible members function as members-only access. That is, the internal data structures are exclusive.