6.2 continue与break关键字

本篇说一下continue与break两个关键字spa 内容在书7.6章.code 1.continue关键字 1.1 可用范围 while, do-while, for循环均可以使用it 1.2 做用 执行到continue时,跳过本次循环的剩余部分,继续执行下一次循环.多层循环嵌套时,仅对当前层有效.for循环 好比class for(;;) {//A while(xxx) {//B
相关文章
相关标签/搜索