Encapsulation in object-oriented programming

ID: encapsulation-in-object-oriented-programming

In object-oriented programming, encapsulation packages an object's state with the operations that act on it and can restrict direct access to its implementation. It is the object-oriented use of encapsulation.

New to topics? Read the docs here!