What means java filenames with a dollar sign and a number .class in it (name$1.class)? [duplicate]
问题 This question already has answers here : java compiled classes contain dollar signs (4 answers) Closed 6 years ago . When i compile my java Enum Day, it generates his Day.class file and 8 Day$#.class Files, so i want to know why the compiler generates 8 $#.class instead of 7, because i have 7 enum constants, but 8 override annotations, i have understood that the Dollar.class files are generated for every inner class or by enum constants, but what about the eight .class file what it is