1By default access to members of a C++ class is private.
2
3The private members are not accessible outside the class;
4they can be accessed only through methods of the class.
5
6The public members form an interface to the class and
7are accessible outside the class.