title: What is the main difference between Inheritance and Polymorphism?
body: <p>I was presented with this question in an end of module open book exam today and found myself lost. I was reading <code>Head first Java</code>and both definitions seemed to be exactly the same. I was just wondering what the MAIN difference was for my own piece of mind. I know there are a number of similar questions to this but, none I have seen which provide a definitive answer.</p>