Infosys Interview Question

Basic oop conepts and data structure