Domanda di colloquio di Intel Corporation

How does polymorphism differ from inheritance?