Varadhan Sesharaman wrote:I had good idea on what is overridding and inheritance but actuaaly need to know why we need them and when to use them?
It's basically to allow subtyping; but this is such a fundamental part of Object-Oriented programming that I think
you should really read the
tutorials rather than relying on our interpretation. You might also want to Google "polymorphism".
Winston