// "What is the benefit of using the for loop example over the equivalent while // loop example?" public class Loops { public static void main(String[] args) { for (int i = 1; i <= 5; i += 2) { if (i == 4) { continue; } System.out.println(i); } int i = 1; while (i <= 5) { if (i == 3) { i++; continue; } System.out.println(i); i++; } System.out.println(i); } }