/continue的理解
package com.HuanXin.JiBen_JieGou_4;
public class Demo11_continue {
public static void main(String[] args) {
int A=0;
while (A<100){
A=A+1;
if (A%10==0){
System.out.println();
continue;
} System.out.print(A);
}
}
}
/*
思路:int A=0中的0给予给A=A+1(A++)此时此刻的A=1
则此时此刻的A就进入第11行代码输出出来
*/
![](/i/l/?n=22&i=blog/2984651/202210/2984651-20221008101539682-442087114.png)
标签:int,Demo22,System,continue,关于,public,out From: https://www.cnblogs.com/CHX249/p/16768139.html