凭借超强的记忆把两年前的账号和密码终于回忆出来了,师姐所说的基础有多重要?跟记忆一样重要。比如看懂这段代码:
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
0: new #2 // class org/hapjin/dynamic/DynamicDispatch$Man
3: dup
4: invokespecial #3 // Method org/hapjin/dynamic/DynamicDispatch$Man."<init>":()V
7: astore_1
8: new #4 // class org/hapjin/dynamic/DynamicDispatch$Woman
11: dup
12: invokespecial #5 // Method org/hapjin/dynamic/DynamicDispatch$Woman."<init>":()V
15: astore_2
16: aload_1
17: invokevirtual #6 // Method org/hapjin/dynamic/DynamicDispatch$Human.sayHello:()V
20: aload_2
21: invokevirtual #6 // Method org/hapjin/dynamic/DynamicDispatch$Human.sayHello:()V
24: return