Amazon Interview Question

Polymorphism, inheritance - advantages etc