Question 5
Consider the Java code given below.
public class FClass {
public static void main(String[] args) {
int i = 0;
do {
System.out.println("1 2");
do {
System.out.println("3 4");
i++;
} while (i < 2);
} while (i < 3);
}
}
Choose the correct option regarding the output produced by the code.
1 2 3 4 1 2 3 41 2 3 4 3 4 3 41 2 3 4 3 4 1 2 3 41 2 3 4 1 2 3 4 3 4