C:\Users\甘>javap -c D://Four.class
Compiled from “Four.java”
public class four.Four {
public four.Four();
Code:
0: aload_0
1: invokespecial #8 // Method java/lang/Object.""😦)V
4: return
public static void main(java.lang.String[]);
Code:
0: new #16 // class java/util/Scanner
3: dup
4: getstatic #18 // Field java/lang/System.in:Ljava/io/InputStream;
7: invokespecial #24 // Method java/util/Scanner."":(Ljava/io/InputStream;)V
10: astore_3
11: getstatic #27 // Field java/lang/System.out:Ljava/io/PrintStream;
14: ldc #31 // String 请输入四位会员卡号:
16: invokevirtual #33 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
19: aload_3
20: invokevirtual #39 // Method java/util/Scanner.nextLong:()J
23: lstore_1
24: getstatic #27 // Field java/lang/System.out:Ljava/io/PrintStream;
27: new #43 // class java/lang/StringBuilder
30: dup
31: ldc #45 // String 会员卡号是:
33: invokespecial #47 // Method java/lang/StringBuilder."":(Ljava/lang/String;)V
36: lload_1
37: invokevirtual #49 // Method java/lang/StringBuilder.append:(J)Ljava/lang/StringBuilder;
40: invokevirtual #53 // Method java/lang/StringBuilder.toString:()Ljava/lang/String;
43: invokevirtual #33 // Method java/io/PrintStream.println:(Ljava/lang/String;)V
46: return
}