📜  java 循环 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:31.301000             🧑  作者: Mango

代码示例6
public class ForLoop {
  public static void main(String[] args) {
    for (int i = 0; i < 5; i++) {
      // Will do this 5 times.
      System.out.println("Iteration #: " + i);
    }
  }
}