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