Encapsulation and Information Hiding
Encapsulation is the idea of combining a number of (like) items, such as variables and functions, into a single package
In C++ we use classes to achieve this
When defining a class we reveal to the outside world only the public member functions of that class
This is another example of information hiding
Typically ones “hides” the state variables, the implementation details of the public member functions, and all private member functions details (prototypes as well as implementation)