Infosys interview question

oops concepts, dbms, coding questions