package HspLearning;
public class Continue01 {
public static void main(String[] args) {
int i = 1;
while (i <= 4){
i++;
if (i == 2) {
continue;
}
System.out.println("i="+i);
}
}
}
package HspLearning;
public class Continue01 {
public static void main(String[] args) {
int i = 1;
while (i <= 4){
i++;
if (i == 2) {
continue;
}
System.out.println("i="+i);
}
}
}
本文标题:Continue语句学习
本文链接:https://www.haomeiwen.com/subject/jdlwoltx.html
网友评论