Infosys interview question

Opps concept and real time project scenarios coding