Overview#
Encapsulation is one of the four fundamentals of Object-oriented ProgrammingEncapsulation refers to the bundling of data with the methods that operate on that data.
Encapsulation is used to hide the values or state of a Structured data object inside a class, preventing unauthorized parties' direct access to them. Publicly accessible methods are generally provided in the class (so-called getters and setters) to access the values, and other client classes call these methods to retrieve and modify the values within the object.[1]
More Information#
There might be more information for this subject on one of the following:- [#1] - Encapsulation computer programming
- based on information obtained 2017-04-18-