Menu

Support for inheritance in toString!

the toString method now has a pretty nice logic for supporting inheritance. all non private fields inherited are added, for private fields the getter is called if available.
This should be the starting point for adding inheritance support for other generations.

Posted by Miguel Griffa 2005-10-21

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.