Amazon interview question

Polymorphism, inheritance - advantages etc