Revature interview question

Explain encapsulation.