词汇 encapsulation 在中文的含义

encapsulation 在英语中是什么意思?与 Lingoland 一起探索这个词的含义、发音及具体用法

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.
封装原则隐藏了类的内部实现细节。
在 Lingoland 学习这个单词