loop jump to the next iteration code example
Example 1: for next loop javasxcrop
for (i = 0; i < 5; i++) {}
Example 2: Continue statement in java
// continue in java example
import java.util.*;
public class ContinueJavaExample
{
public static void main(String[] args)
{
for(int a = 1; a <= 10; a++)
{
if(a % 2 != 0)
{
continue;
}
System.out.println(a + " ");
}
}
}