hello,
i know polymorphism gives you the ability to use the same object for several different types , but it can be done without polymorphism (with casting and inheritance)...
so can someone explain to me what can be done with polymorphism that cant be done in any other way (like with only inheritance and casting)?
an example would be nice
thanks in advanced.
