DoWhile
作者:互联网
package struct; public class DoWhile { public static void main(String[] args) { int a =0; while (a<0){ a++; System.out.println(a);//条件不成立,无法输出内容 } System.out.println("=================="); do { System.out.println(a);//0 a++; System.out.println(a);//1 } while (a<0); } }
标签:struct,package,int,void,DoWhile,public 来源: https://www.cnblogs.com/xu529/p/16535423.html