Infosys Interview Question

Basic oops concept design patterns concept