Infosys interview question

Project based and oops concepts