Encapsulation

Definition : A way to hide implementation by making it so that an object’s data can only be accessed through its methods.

Encapsulation prevents an object from being changed without permission. This means that the only way that an object can be accessed is through one of its methods. The methods will allow access and modifications according to how they were defined.

See Also : Object, Object Data Type, Object Oriented, Method

Sharing the Wonder