encapsulation

encapsulation

/ɪnˌkæpsjʊˈleɪʃən/

💻 Software Development

Bundling data with methods that operate on that data

Encapsulation protects internal state from external interference.

Origin: From Latin capsula (small box), diminutive of capsa (box)