Link to home
Start Free TrialLog in
Avatar of Nickd916
Nickd916

asked on

I need help understanding the difference between overriding and polymorphism.

So I also need to circle polymorphism in this project
 http://www.cokeandcode.com/info/tut2d.html
but I don't understand what it really is.  To me, it seems like its overriding something from a superclass.  Can anyone explain/show it any better?
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There isn't a difference. Polymorphism involves overriding

http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming
Thje XyzEntity class extends it and override some of its methods, eg. move(), collideWith() to give specific behaviour for that type of Entity