1.break 跳出for循环,结束for循环 如果有两层循环,break只能跳出一层循环 2.continue 跳出本次循环,继续下一条数据的循环 转载于:https://www.cnblogs.com/zizi-tothemoon/p/9327837.html