I know that ClassName$InnerClass.class is used for inner classes but why does the compiler sometimes create one or more files like ClassName$.class or ClassName$1.class?
>I know that ClassName$InnerClass.class is used for inner classes but > why does the compiler sometimes create one or more files like > ClassName$.class or ClassName$1.class?
Anonymous inner classes:
Runnable r = new Runnable () { public void run () { doThat (); } };
Cheers, Matt Humphrey matth@ivizNOSPAM.com http://www.iviz.com/
Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...