Pergunta de entrevista da empresa Mercury Insurance Company

What is encapsulation in Java?