Add to Chrome
✅ 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;
while (i < 5) {
System.out.print(i + " ");
i++;
}
1 2 3 4
0 1 2 3 4 5
0 1 2 3 4
1 2 3 4 5
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!