Infosys interview question

Explain Encapsulation and give a real-life example