According to Oracle Java Language Specification :
An empty instruction does nothing.
EmptyStatement:
;
The execution of an empty instruction always runs normally.
, , .
-, , , ";"
public Duh1();
0 aload_0 [this]
1 invokespecial java.lang.Object() [8]
4 return
Line numbers:
[pc: 0, line: 3]
Local variable table:
[pc: 0, pc: 5] local: this index: 0 type: Duh
public static void main(java.lang.String[] args);
0 getstatic java.lang.System.out : java.io.PrintStream [16]
3 ldc <String "World Hello!"> [22]
5 invokevirtual java.io.PrintStream.println(java.lang.String) : void [24]
8 return
Line numbers:
[pc: 0, line: 5]
[pc: 8, line: 15]
Local variable table:
[pc: 0, pc: 9] local: args index: 0 type: java.lang.String[]
Line numbers:
[pc: 0, line: 5]
[pc: 8, line: 6]
1 ";"
public Duh2();
0 aload_0 [this]
1 invokespecial java.lang.Object() [8]
4 return
Line numbers:
[pc: 0, line: 3]
Local variable table:
[pc: 0, pc: 5] local: this index: 0 type: Duh2
public static void main(java.lang.String[] args);
0 getstatic java.lang.System.out : java.io.PrintStream [16]
3 ldc <String "World Hello!"> [22]
5 invokevirtual java.io.PrintStream.println(java.lang.String) : void [24]
8 return
Line numbers:
[pc: 0, line: 5]
[pc: 8, line: 6]
Local variable table:
[pc: 0, pc: 9] local: args index: 0 type: java.lang.String[]
Line numbers:
[pc: 0, line: 5]
[pc: 8, line: 6]
, - ";" ";".