3 回答
TA贡献1784条经验 获得超2个赞
A continue
while
do
for
if
continue
while (getNext(line)) { if (line.isEmpty() || line.isComment()) continue; // More code here}
continue
continue
for (count = 0; foo.moreData(); count++) continue;
next
.
continue
goto
continue
for (;;)
aLoopName: for (;;) { // ... while (someCondition) // ... if (otherCondition) continue aLoopName;
TA贡献1853条经验 获得超18个赞
continue
goto
break
break
终止循环(跳转到它下面的代码)。 continue
终止当前迭代循环中代码处理的其余部分,但继续循环。
TA贡献1844条经验 获得超8个赞
continue
break
while
for
return
continue
break
continue
/break
continue
/break
continue
, break
return
添加回答
举报