Java Reference
In-Depth Information
The output from the program is shown here:
As the output shows, when the continue executes, control passes to the outer loop, skipping
the remainder of the inner loop.
Good uses of continue are rare. One reason is that Java provides a rich set of loop state-
ments that fit most applications. However, for those special circumstances in which early
iteration is needed, the continue statement provides a structured way to accomplish it.
Try This 3-3 Finish the Java Help System
Search WWH ::




Custom Search