Can you add methods (or variables) to existing classes? What about overring some. If so how?
For example, a use could be to change the toString() method for all arrays to display a comma delimited string representation of its elements.
Can you add methods (or variables) to existing classes? What about overring some. If so how?
For example, a use could be to change the toString() method for all arrays to display a comma delimited string representation of its elements.
No, but you can subclass and override the behaviour.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks