Amazon Interview Question

Explain encapsulation.