encapsulation
Hiding an object's data so it can only change in allowed ways.
Encapsulation restricts direct access to an object's state, exposing operations that preserve its invariants.
See also
Hiding an object's data so it can only change in allowed ways.
Encapsulation restricts direct access to an object's state, exposing operations that preserve its invariants.
See also