Infosys interview question

About oops concepts they are asking