🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #173

Re: calling method of super class of super class

#173
From: Tor Iver Wilhelmsen
Date: Tue, 01 May 2001 09:13
18 lines
1739 bytes
Carsten.Friedrich@gmx.de (Carsten Friedrich) writes:

> is it possible to call a method of the super class of the super
> class?

No. Basically, a class knows its super class, but not that class'
superclass. If you end up needing to call a method two levels down you
need to reconsider your design.

> Is there a good solution?

Expose the underlying base implementation as a separate final method.

-- 
  Tor Iver Wilhelmsen                              <toriw@chello.no>
We are Oemgee of Boochrg. Your design, as you have known it, is over. Your
notational and conceptual uniqueness will be added to our own. Resistance is
not a valid Use Case. You will be assUMLated.
Technical Details
Message-ID: <wk1yq92zv2.fsf@mail.multinett.no>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!amsnews01.chello.com!news01.chello.no!not-for-mail
References: <3aee0699.231503@news.usyd.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,edae50d7b645c6ea
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 10a146,edae50d7b645c6ea
X-Google-Attributes: gid10a146,public
X-Google-ArrivalTime: 2001-05-01 02:18:11 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!amsnews01.chello.com!news01.chello.no!not-for-mail
Sender: unknown@TORIW
Newsgroups: comp.lang.java.programmer,aus.computers.java
Subject: Re: calling method of super class of super class
References: <3aee0699.231503@news.usyd.edu.au>
From: Tor Iver Wilhelmsen <toriw@chello.no>
Message-ID: <wk1yq92zv2.fsf@mail.multinett.no>
Lines: 18
X-Newsreader: Gnus v5.7/Emacs 20.4
Date: Tue, 01 May 2001 09:13:37 GMT
NNTP-Posting-Host: 213.46.198.90
X-Complaints-To: abuse@chello.no
X-Trace: news01.chello.no 988708417 213.46.198.90 (Tue, 01 May 2001 11:13:37 MET DST)
NNTP-Posting-Date: Tue, 01 May 2001 11:13:37 MET DST
Organization: chello broadband Norway