Intel Corporation interview question

How does polymorphism differ from inheritance?