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.
封装原则隐藏了类的内部实现细节。