"alesj" wrote :
| No, that's not how OO works. ;-)
| The overloaded method should be used.
|
Though I remembered this from somewhere:
-
http://java.sun.com/docs/books/jvms/second_edition/html/Concepts.doc.html...
anonymous wrote :
| Unlike C++, the Java programming language does not specify altered rules for method
dispatch during the creation of a new class instance. If methods are invoked that are
overridden in subclasses in the object being initialized, then these overriding methods
are used, even before the new object is completely created.
|
Did some VM back in the days. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133396#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...