for循环
for (初始语句; 循环体条件表达式; 循环体后语句) {
for循环体
}
public class SimpleFor { public static void main(String[] args) { for(int i = 0; i < 10; i++){ System.out.println("i的值是" + i); } } }
for循环语句
原文:https://www.cnblogs.com/buildnewhomeland/p/12147315.html