Hey all. I have a OO q for you. I've been training in JADE (Enterprise-level Java Spin-off) development and have been given an assignment that asks for the demonstration of polymorphism. Now I know what it is just fine. In fact, I must have read hundreds of explanations and have probably used it many times without knowing. But am not too sure about how to implement it in software.
I know that I have said that I am training in JADE, but there are no JADE forums and I am very familiar with OO-PHP so I have turned to you guys for help. Could somebody possibly give me an example of Polymorphism in PHP-Code?
Thank you for your help!
Regards.
Steve.