for (i = 5; i >= 1; i--) { if (i % 2 == 1) continue; System.out.println(i + " "); }
Explanation:
The loop starts at i = 5 and decrements by 1 each time.
The if (i % 2 == 1) condition checks if i is odd. If true, it skips the current iteration using continue.
Only even numbers (4 and 2) are printed.