Northrop Grumman interview question

Describe encapsulation in Java