Encapsulation in the mechanism that binds together code and data and that leaps both safe from outside interference or misuse. It also allows the creation of an object. More simply, an object in a logical entity that encapsulate both data and the code that manipulators that data.