hi, please look at this.when i am compiling java file which importing awt package and extends any awt components, two class files one with original claas name and other with classname$1 like this. how this happens please help.
Member classes are written to a file of the form EnclosingClass$MemberClass.class Anonymous inner clases are written in the form EnclisingClass$1.class and are numbered sequentially for multiple anonymous classes. When anonymous inner classes appear inside of other anonymous inner classes, the pattern is Outer$1.class not Outer$Inner$1.class. HTH