loopfor.java

来自「codebook!」· Java 代码 · 共 14 行

JAVA
14
字号
/** Compile this program and dump the compiled bytecode * with "javap -c" or equivalent; you will be enlightened * as to the true nature of while loops compared to for loops.  */class Loops {	 public static void main(String[] args) {		 	for (int i=0; i<10; i++) {		 				System.out.println(i);			}	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?