At 12:09 AM -0700 4/12/06, Norman Palardy wrote:

There are two :

        Super.Constructor

or
        Super.NameOfSuperClass

both will work

To be clear, only ONE of these will work in any particular situation. Which one will work depends on how the superclass has declared its constructor; you must call it using its name, exactly how the superclass declares it.

It's unfortunate that a subclass needs to know so much about how its superclass is implemented, but apparently this is not something that's easily fixed.

I generally recommend that in your own code, you call all constructors "Constructor" rather than using the class name. But you must be aware that some framework classes may still have a constructor named after the class.

Best,
- Joe

--

Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to