Define Encapsulation- object-oriented technology
Encapsulation also called as information hiding, is the characteristic of separating the external aspects of an object, from the internal execution details of that object. It helps in hiding the actual implementation of properties of objects. You can say that encapsulation is hiding part of implementation that do internal things, and these hidden parts are not worried to outside world. Encapsulation enables you to unite data structure and behaviour in an individual entity. Encapsulation helps in system improvement. If there is require changing the implementation detail of object without affecting its external nature, encapsulation is a good option.