do{code_block;}while(conditionExpression)
public class Test{public static void main(String[] args){int a = 1;do{System.out.println(a);//类似于for循环中的更新循环变量的机制a++;}while(a < 0);}}
1
全栈数科
do{code_block;}while(conditionExpression)
public class Test{public static void main(String[] args){int a = 1;do{System.out.println(a);//类似于for循环中的更新循环变量的机制a++;}while(a < 0);}}
1