Pergunta de entrevista da empresa BlackRock

What is encapsulation in java ?