Is there a token in java that skips the rest of the for loop? Something like VB\'s Continue in java.
As mentioned in all other answers, the keyword continue will skip to the end of the current iteration.
Additionally you can label your loop starts and then use continue [labelname]; or break [labelname]; to control what's going on in nested loops:
loop1: for (int i = 1; i < 10; i++) {
loop2: for (int j = 1; j < 10; j++) {
if (i + j == 10)
continue loop1;
System.out.print(j);
}
System.out.println();
}