Amazon Interview Question

Polymorphism, Inheritance