Safran Interview Question

What is encapsulation in Java?