Article View: borland.public.jbuilder.java.language
Article #8056Re: beginning java: constructor problem with subclass
From: Torsten Welches
Date: Sun, 22 Apr 2001 11:45
Date: Sun, 22 Apr 2001 11:45
15 lines
1497 bytes
1497 bytes
exactly. Torsten hi schrieb in Nachricht <3ae28f68_2@dnews>... >Ohhh...now I think I understand. The error is not related to my trying to >create a TestPrivate1a object is it? It is an error related to the compiler >creating a default constructor for the subclass, which by convention calls a >no argument constructor for the parent class, which does not exist and is >not supplied by the compiler because I have defined a constructor for the >parent class. Is that it? I would still get the error if I tried to create >an object from a totally unrelated class too, wouldn't I?
Technical Details
Message-ID:
<3ae2c3a0_1@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!hermes2.visi.com!news-out.visi.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!KWeb!dnewsReferences:
<3ae27b56$1_1@dnews> <3ae28b34_2@dnews> <3ae28f68_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,69cce75b48e20b78 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-22 04:52:02 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Newsgroups: borland.public.jbuilder.java.language References: <3ae27b56$1_1@dnews> <3ae28b34_2@dnews> <3ae28f68_2@dnews> Subject: Re: beginning java: constructor problem with subclass Date: Sun, 22 Apr 2001 13:45:11 +0200 Lines: 18 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 NNTP-Posting-Host: 195.14.251.146 Message-ID: <3ae2c3a0_1@dnews> X-Trace: dnews 987939744 195.14.251.146 (22 Apr 2001 04:42:24 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!hermes2.visi.com!news-out.visi.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!KWeb!dnews