Infosys interview question

OOPS concepts and their real time examples