Infosys Interview Question

OOPS Concepts.