🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Why when compile one .java the compiler generate three .class of the same Class.

#17666
From: Chris Hill
Date: Fri, 16 Oct 1998 00:00
22 lines
1356 bytes
There are two possibilities.  Inner classes and classes besides Test
that appear in Test.java.  If, as you indicate, there are no inner
classes, then there must be other classes outside of the Test class.
These classes can be easily identified by searching for the keyword
"class" in Test.java.

On Thu, 15 Oct 1998 22:23:53 -0300, "Martin Fuente"
<tinchete@hotmail.com> wrote:

>Hello, I don't understand why when i compile a small applet whitout any
>inner class, the compiler generate more than one .class. And if i delete one
>of this .class, i can;t run the applet.
>Ej. I have only one class call Test.java
>When i compile the compiler generate Test.class, Test$1.class, Test$2.class
>Why? If i delete Test$1.class, the program not work.
>Please if you can help me, send me a mail.
>Thanks.
>
>

Chris Hill
hillca@cs.purdue.edu
Technical Details
Message-ID: <3626d52f.171015697@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <706iha$pvb6@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e3f6db5b1bc8dcb7
X-Google-Attributes: gidf74b3,public
From: hillca@cs.purdue.edu (Chris Hill)
Subject: Re: Why when compile one .java the compiler generate three .class of the same Class.
Date: 1998/10/16
Message-ID: <3626d52f.171015697@forums.borland.com>
X-Deja-AN: 401641301
References: <706iha$pvb6@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language