The following is a demonstration of anti-group translation program 1 using javap: C:> javap-c-classpath. singleton Compiled from MyMain. java class Singleton extends java. lang. object {public static int counter1; public static int counter2; public static Singleton getInstance (); static {};} Method Singleton () 0 aload_0 1 invokespecial #1 4 getstatic #2 7 iconst_1 8 iadd 9 putstatic #2 12 getstatic #3 15 iconst_1 16 iadd 17 putstatic #3 20 return Method S Ingleton getInstance () 0 getstatic #4 3 areturn Method static {} 0 new #5 3 dup 4 invokespecial #6 7 putstatic #4 10 iconst_0 11 putstatic #3 14 return actually Java's syntactic sugar is not much, C #'s syntactic sugar is so ubiquitous that C # beginners are more likely to make "mistakes made by all programmers around the world ". Many C # books will introduce the C # syntax while introducing the compiled MSIL (. NET intermediate language, similar to Java's Bytecode), but few Java books do this. Although it is "the mistake that all programmers in the world will make", it does not mean that after you make this mistake, you can still "Look up and be confident ". This type of errors can still be avoided if you are interested.