Article View: borland.public.jbuilder.java.language
Article #15153internal classes and methods
From: Marcel van den Dungen
Date: Thu, 01 Jul 1999 00:00
Date: Thu, 01 Jul 1999 00:00
49 lines
1058 bytes
1058 bytes
hi,
i have a question about internal classes.
suppose you have the following class(es):
public class MyClass
{
public MyClass()
{
...
}
public void doThis()
{
...
}
public class MyInternalClass
{
public MyInternalClass()
{
...
}
public doThat()
{
doThis()
}
}
}
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:
<7lfv3u$qn13@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,d0974d1e5be948a3 X-Google-Attributes: gidf74b3,public From: "Marcel van den Dungen" <info@c-content.nl> Subject: internal classes and methods Date: 1999/07/01 Message-ID: <7lfv3u$qn13@forums.borland.com> X-Deja-AN: 496037870 Organization: C-CONTENT b.v. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.language