continue: 结束此次循环继续下一次。 break: 结束整个循环过程 for(int i=0;i<10;i++){ if(i==1){ continue; //for循环继续。 break; //for循环结束 } }