✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the output of the following code snippet?
int i = 0;
outer:
while (i < 5) {
inner:
for (int j = 0; j < 3; j++) {
if (i == 3)
break outer;
if (j == 2)
continue inner;
System.out.print(i + j + " ");
}
i++;
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!