+91-85006-22255
What will the output of the following program?
public class ForTest { public static void main(String[] args) { for (int i = 1; i <= 10; i++) { if (i % 2 == 0) continue; if (i == 9) break; System.out.println(100 + i); } }}
Topic: Java for loops vs Java while loops vs Java do while loops
Read this topic Take test on this topic
Open In App