Java Continue Statement

Java Continue Statement

Java Continue Statement when used continues loop code execution.Some code is skipped under a particular condition.If Java Continue Statement has a inner loop that code is executed.

Java Continue Statement Syntax

Flow diagram

Java Continue Statement

 Example Code

 


Output:

Continue Statement with inner loop

If you use continue statement inside the loop, it will continue loop execution.

Example Code

Output:

 

Next Post:

next2 next