Infosys interview question

Explain oops concepts