这是查看java字节码的
0 bipush 10 ----给变量赋值为10
2 newarray 8 (byte) ----分配数组
4 astore_1
5 getstatic #16 <java/lang/System.out> ----取得静态变量
8 aload_1
9 iconst_0
10 baload
11 invokevirtual #22 <java/io/PrintStream.println>---调用println方法
14 aconst_null
15 astore_2
16 aconst_null
17 astore_3
0 bipush 10 ----给变量赋值为10
2 newarray 8 (byte) ----分配数组
4 astore_1
5 getstatic #16 <java/lang/System.out> ----取得静态变量
8 aload_1
9 iconst_0
10 baload
11 invokevirtual #22 <java/io/PrintStream.println>---调用println方法
14 aconst_null
15 astore_2
16 aconst_null
17 astore_3
jd-gui 反编译class文件出来的是 java代码,绝大部分是可以看懂的