In Java, continue will end execution of the nearest loop's current iteration and move to the next. So:


for ( int i = 0; i < 10; i++ ) {
if ( i == 5 )
continue;
System.out.println (...