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.
หลักการห่อหุ้มจะซ่อนรายละเอียดการใช้งานภายในของคลาส