Continue
public class Continue{
public static void main(String[] args) {
for(int i=0;i<5;i++){
if(i==3){
System.out.println"Value 3 is omitted");
continue; // continues with the next iteration
}
else
System.out.println"Value = "+i);
}
}
}}
Output:
Value = 0
Value = 1
Value = 2
Value 3 is omitted
Value = 4