Article View: borland.public.jbuilder.java.api
Article #1618Re: Is this a bug ???
From: Tor Iver Wilhelmsen
Date: Wed, 07 Nov 2001 12:34
Date: Wed, 07 Nov 2001 12:34
14 lines
1425 bytes
1425 bytes
"Hanan Hermon" <hananh@radcom.co.il> writes: > I agree that this behavior is due to the way instance variable are > being initialize (After the instance object was created), but from > my understanding the object is created completely, therefore I > expect that it first set the default values and then start the super > constructor. > > Isn't this sound more intuitive ? Not any more than building the roof on a house before the foundation. A class should rely on the superclass' values to have been initialized, not the other way around: The superclasses are your class' foundation.
Technical Details
Message-ID:
<u4ro64v5x.fsf@ergo.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!howland.erols.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3be65516_2@dnews> <3be65bc0_1@dnews> <3be8f0a7$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,25fa17041a8095b7 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-11-07 04:38:45 PST Sender: towi@SDSA1761 Newsgroups: borland.public.jbuilder.java.api Subject: Re: Is this a bug ??? References: <3be65516_2@dnews> <3be65bc0_1@dnews> <3be8f0a7$1_1@dnews> From: Tor Iver Wilhelmsen <tor.wilhelmsen@ergo.no> Date: 07 Nov 2001 13:34:02 +0100 Message-ID: <u4ro64v5x.fsf@ergo.no> Lines: 14 X-Newsreader: Gnus v5.7/Emacs 20.7 NNTP-Posting-Host: 139.105.4.252 X-Trace: dnews 1005136442 139.105.4.252 (7 Nov 2001 04:34:02 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!howland.erols.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews