🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15914

Re: quiz on Inherittance ?

#15914
From: Tor Iver Wilhelmsen
Date: Thu, 15 Apr 1999 00:00
12 lines
843 bytes
"Sohan Mendis" <sohan@maxtrak.com> writes:

> class FrameA extends FrameB {
> 
> }
> 
> Is there a way   FrameB  can find about   components on FrameA

Well, if FrameB's constructor or other initialization method calls the
superclass' constructor or initializaer, they will be added... but
componentsaren't part of the class, but are contained in an instance
of the class.
Technical Details
Message-ID: <ulnfuqqgi.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7f40c6$hsq14@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b7891a6519b6bc6
X-Google-Attributes: gidf74b3,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: quiz on Inherittance ?
Date: 1999/04/15
Message-ID: <ulnfuqqgi.fsf@sds.no>
X-Deja-AN: 466628899
Sender: towi@SDSA1761
References: <7f40c6$hsq14@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language