Infosys Interview Question

Explain Encapsulation and give a real-life example