Safran interview question

What is encapsulation in Java?