Private « Class « C++






1.Private and protected member variablesPrivate and protected member variables
2.Private and public variables and methodsPrivate and public variables and methods
3.Class combination with private fields
4.Keep the private on your own
5.Private and public sections
6.Setting member access levels
7.Use public methods to access private fields