跳转到内容

欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。

JVM method translate to bytecode

来自WHY42
Riguz​(留言 | 贡献)2021年4月20日 (二) 01:57的版本 (建立內容為「= 构造函数 = <syntaxhighlight lang="java"> </syntaxhighlight> = statements = == 创建对象== <syntaxhighlight lang="java"> HelloWorld s = new HelloWorld(…」的新頁面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

构造函数

statements

创建对象

HelloWorld s = new HelloWorld();
new           #5                  // class HelloWorld
dup
invokespecial #6                  // Method "<init>":()V