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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thje XyzEntity class extends it and override some of its methods, eg. move(), collideWith() to give specific behaviour for that type of Entity
http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming