Question: Given the following code fragment, which of the following lines will be a part of the output? Select the two correct answers. (a) i=1, j=0
Given the following code fragment, which of the following lines will be a part of the output?

Select the two correct answers.
(a) i=1, j=0
(b) i=0, j=1
(c) i=1, j=2
(d) i=2, j=1
(e) i=2, j=2
(f) i=3, j=3 (g) i=3, j=2
outer: for (int i = 0; i < 3; i++) { for (int j = 0; j < 2; j++) { if (i===j) { continue outer; } System.out.println ("i=" + i +", j=" + j);
Step by Step Solution
3.40 Rating (150 Votes )
There are 3 Steps involved in it
a and d i1 j0 and i2 j1 are part of the output The variable i iterates through the v... View full answer
Get step-by-step solutions from verified subject matter experts
