Java - Loop
About
Language - Loop (For, While) - (Break, Continue) in java
Articles Related
List
Branching
Continue
- The continue statement skips the current iteration of a for, while , or do-while loop.
Break
The break statement has two forms:
- unlabeled.
- and labeled
An unlabeled break will terminate a for, while, or do-while loop.
An unlabeled break statement terminates the innermost switch, for, while, or do-while statement, but a labeled break terminates an outer statement.