Taliun interview question

Explain oops concepts with some examples