Results 1 to 2 of 2

Thread: file $1.class

  1. #1
    dangr is offline Member
    Join Date
    Jan 2010
    Rep Power

    Default file $1.class

    I download some source code from internet.
    I compile them by Jcreator.
    Now with some source file the compiler makes 2 files.
    For example from source, jcreator make
    ServiceManager.class and ServiceManager$1.class
    Anyone know what is this second file (ServiceManager$1.class) ?

    thanks in advance


  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power


    They are the compiled class files associated with inner classes that are anonymous (have no name)

    Java Code:
    class ServiceManager {
        Action foo = new AbstractAction() {
            public void actionPerformed(ActionEvent event) {
                // do whatever

    foo is an instance of a class with no name.

Similar Threads

  1. converting java class file to exe file
    By satheeshtech in forum Advanced Java
    Replies: 5
    Last Post: 07-18-2009, 11:47 PM
  2. How to create .exe file using .class file
    By pradnya in forum New To Java
    Replies: 8
    Last Post: 04-18-2009, 12:50 AM
  3. .class file to .java file
    By makpandian in forum New To Java
    Replies: 1
    Last Post: 02-20-2009, 07:46 PM
  4. Replies: 0
    Last Post: 05-13-2008, 06:16 AM
  5. Convert my class file into a exe file
    By carl in forum New To Java
    Replies: 1
    Last Post: 08-05-2007, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts