Amazon interview question

Explain encapsulation.