[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
polymorphism
A dog drinks and a human drinks. The drink method for a human is very different (hopefully) to that of the drink method for a dog.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
polymorphism
Polymorphism
This is where a method responds in a different way depending upon the context (e.g. it might depend what data type gets passed to it - string comparrison is different to number comparison).A dog drinks and a human drinks. The drink method for a human is very different (hopefully) to that of the drink method for a dog.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
