Infosys Interview Question

OOPs concept and programming Logic