public class BreakAndContinue { public static void main(String[] args) { // TODO Auto-generated method stub //break will stop the whole for loop //continue only skip the current iteration and cause the program execute the next iteraiton for (int i=0; i < 100; i++) { if(i % 2 == 0) { continue; //break; } System.out.println(i); } } }