Encapsulation is the process of hiding the non-essential features.

If you have a class which return a value but before returning this value has to use a lof of functions to calculate this value.

The fact that only the method which returns the value is visible outside of the class is called: abstraction.

The fact that the methods wich does the calculation are hidden outside of the class is called: Encapsulation




Saving your comment....

Naam is verplicht!
Email is verplicht!
Opmerking is verplicht!