The 'continue' statement skips the rest of the current iterative cycle of the loop and moves on to the next iterative cycle. In simple words, this means that whenever a 'continue' statement is encountered, any other lines of code in the immediate loop block will not be executed and the loop will move on to the next iteration.
for (int i=1;i<=3;i++)
{
if (i==2)
continue;
System.out.println(i);
}
The above code will print:
1
3
This means that when the value of 'i' was '2', the loop moved on to the next iterative cycle.
If you're looking to learn java, understanding 'continue' and 'break' statements is imperative.