Encapsulation: a technique that is used to hide the implementation details of an object or a module, and to expose only the interface that is needed to interact with it.
Encapsulation: a technique that is used to hide the implementation details of an object or a module, and to expose only the interface that is needed to interact with it.