elibraryportal Logo

Continue Statement in Java

Continue statement is used to continue the loop,when you need to jump to the next iteration of the loop immediately.It can be used with for loop or while loop.

Where continue statement works?

Continue Statement in Java

Example :

Output

1
2
3
4
6
7
8
9
10
Next TopicComments in Java