62,614
社区成员
发帖
与我相关
我的任务
分享
Compiled from "Test1.java"
public class com.codetest.test.Test1 {
public com.codetest.test.Test1();
Code:
0: aload_0
1: invokespecial #1 // Method java/lang/Object."<init>":()V
4: return
public static void main(java.lang.String[]);
Code:
0: new #2 // class com/codetest/test/Test1
3: dup
4: invokespecial #3 // Method "<init>":()V
7: dup
8: astore_1
9: astore_1
10: return
}
[/cdoe]
B:Test1 test=new Test1();
[code=Assembly]
Compiled from "Test1.java"
public class com.codetest.test.Test1 {
public com.codetest.test.Test1();
Code:
0: aload_0
1: invokespecial #1 // Method java/lang/Object."<init>":()V
4: return
public static void main(java.lang.String[]);
Code:
0: new #2 // class com/codetest/test/Test1
3: dup
4: invokespecial #3 // Method "<init>":()V
7: astore_1
8: return
}