Encapsulation

Encapsulation or information hiding is the process of hiding  the sensitive data of an object from a user and only providing him/her with what  is necessary. When we define a class, we often have states, which are the data  members that Read more