循环
package yanxi; public class yanxi { public static void main(String[] args) { //循环 int i = 10; while(i > 0) { if(i==8) { i--; continue; } System.out.println(--i); if (i==5) break; } System.out.println(); do { System.out.println(i++); } while(i<0); for(int m = 0; m < 10; m++) { System.out.println("m="+m); } } }