KPIT Technologies interview question

Explain about any Oops concept with an example