Access Rights for Members
In this lesson, we'll discuss how access rights are defined for class members so that we can access them from outside.
We'll cover the following...
Access rights #
The access rights of members determine how the members are accessible from outside of the class. Access rights give the author of the class the ability to decide which class members are accessible to the users of the class, i.e., the interface and which members are for internal use of the class (the implementation.) C++ has ...