Infosys Interview Question

About oops concepts they are asking