Article View: borland.public.jbuilder.java.language
Article #14436Re: Inner Class Problem
From: Steve Schafer (TeamB)
Date: Wed, 08 Sep 1999 00:00
Date: Wed, 08 Sep 1999 00:00
15 lines
1162 bytes
1162 bytes
On Wed, 8 Sep 1999 11:54:33 -0700, "Dillan Fernando" <dillan@geocities.com> wrote: >I have a public class which has two inner classes. I want to write a general >method (function) which can be calles by both inner classes. >I thought of writting this class in the parent class. > >How can I call a method in the parent class from an inner class. There are different kinds of inner classes (top-level, member, local and anonymous), and the syntax you'd use depends on what kind of inner classes you've got. Show us a reduced snippet of code so that we can see what kind of inner classes you're using. -Steve
Technical Details
Message-ID:
<37ebc46d.85714743@90.0.0.40>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7r6b5b$iuo13@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,974bb0ab5a146595 X-Google-Attributes: gidf74b3,public From: pandeng@telepath.com (Steve Schafer (TeamB)) Subject: Re: Inner Class Problem Date: 1999/09/08 Message-ID: <37ebc46d.85714743@90.0.0.40> X-Deja-AN: 522653360 Content-Transfer-Encoding: 7bit References: <7r6b5b$iuo13@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.jbuilder.java.language