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

1.
đóng gói, bao bọc
the action of enclosing something in or as if in a capsule
:
•
The drug requires special encapsulation for targeted delivery.
Thuốc yêu cầu đóng gói đặc biệt để phân phối có mục tiêu.
•
The tiny sensors are protected by a strong plastic encapsulation.
Các cảm biến nhỏ được bảo vệ bởi lớp vỏ bọc nhựa chắc chắn.
2.
đóng gói
(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.
Đóng gói tốt trong lập trình dẫn đến mã dễ bảo trì hơn.
•
The principle of encapsulation hides the internal implementation details of a class.
Nguyên tắc đóng gói ẩn các chi tiết triển khai nội bộ của một lớp.