Infosys Interview Question

oops concepts and design patterns