Domanda di colloquio di Mercury Insurance Company

What is encapsulation in Java?