while
//循环 int i = 10; while(i > 0){ if(i==8) {i--; continue;//跳过 } System.out.println(--i); if(i==5) break; }//if循环语句
do while
do{ System.out.println("++i"); } while(i < 10 );
for
for (int m = 10;m > 0; --m){ if (m==8)continue; System.out.println("m = " + m); }