BlackRock interview question

What is encapsulation in java ?