🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

internal classes and methods

#15150
From: Vincent Nuijten
Date: Thu, 01 Jul 1999 00:00
48 lines
1285 bytes
hi,

i hope somebody can help me with the following question:


suppose you have the class:

public class MyClass
{

  public MyClass()
  {
   ...
  }

  public void doThis()
  {
   ...
  }

  public class MyInternalClass
  {

    public MyInternalClass()
    {
     ...
    }

    public doThat()
    {
     doThis()
    }

  }

}


So, MyInternalClass is an internal class of MyClass.
I thought it would be impossible to call the doThis()-method in
the internal class (MyInternalClass), but it seems to be no problem.
Why is it possible to do such a call? And is this a proper solution?



thanks in advance,

vincent nuijten
Technical Details
Message-ID: <7lfk29$spd$1@zonnetje.NL.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,d0974d1e5be948a3,start
X-Google-Attributes: gidf74b3,public
From: "Vincent Nuijten" <info@c-content.nl>
Subject: internal classes and methods
Date: 1999/07/01
Message-ID: <7lfk29$spd$1@zonnetje.NL.net>
X-Deja-AN: 495981458
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Complaints-To: abuse@nl.uu.net
X-Trace: zonnetje.NL.net 930829193 29485 212.136.243.98 (1 Jul 1999 11:39:53 GMT)
Organization: UUNET-NL (http://www.nl.uu.net)
NNTP-Posting-Date: 1 Jul 1999 11:39:53 GMT
Newsgroups: borland.public.jbuilder.java.language