+ 2
Public class members can be seen/used/modified by other classes (or functions). Protected class members can only be seen/used/modified by members of the same class, or derived classes. Private class members can only be seen/used/modified by members of the same class, but not derived classes.
26th Jan 2018, 12:54 PM
Vlad Serbu
Vlad Serbu - avatar