Infosys interview question

Polymorphism, Inheritance, collections