JVM method translate to bytecode:修订间差异

来自WHY42
(建立內容為「= 构造函数 = <syntaxhighlight lang="java"> </syntaxhighlight> = statements = == 创建对象== <syntaxhighlight lang="java"> HelloWorld s = new HelloWorld(…」的新頁面)
(没有差异)

2021年4月20日 (二) 01:57的版本

构造函数

statements

创建对象

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