Demo17_for循环
//for循环基础理解
package com.HuanXin.JiBen_JieGou;
public class Demo09_For {
public static void main(String[] args) {
int a=1;
while (a<=100){
System.out.println(a);
a++;
}
System.out.println("===============================");
for (int i = 1; i <=100; i++) {
System.out.println(i);
}
System.out.println("for循环结束");
}
}
//100.for+回车就可以快速打出第12行代码
//可以运用100.foe快速表示条件
浙公网安备 33010602011771号