Features of Java
This is the core feature of java.
This is to manage the increase in the complexity.
It provides a very sophisticated and well defined interface for the data.
It is also known as data controlling access code.
Another important feature of java being object oriented is abstraction.
Complexity can be managed using abstraction.
The three OOP principles
Encapsulation- Its agenda is to manipulate the data and keep the data isolated
and safe from the external interference and misuse. The encapsulation is done
by the use of the protective wrapper. This prevents the external sources from
accessing the data or the code.
Encapsulation in Java