encapsulation

US /ɪnˌkæp.sjəˈleɪ.ʃən/
UK /ɪnˌkæp.sjəˈleɪ.ʃən/
"encapsulation" picture
1.

the action of enclosing something in or as if in a capsule

:
The drug requires special encapsulation for targeted delivery.
The tiny sensors are protected by a strong plastic encapsulation.
2.

(in object-oriented programming) the bundling of data with the methods that operate on that data, or the restricting of direct access to some of an object's components

:
Good encapsulation in programming leads to more maintainable code.
The principle of encapsulation hides the internal implementation details of a class.