loopwhile.java
来自「codebook!」· Java 代码 · 共 15 行
JAVA
15 行
/** 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) { int i = 0; while (i<10) { System.out.println(i); i++; } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?