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 學習這個單詞