Infosys Interview Question

OOPS related