Infosys Interview Question

About oops concepts & example