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

1.
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.