?
What is the output of the following code snippet?
What is the output of the following code snippet?
int j = 0;
while (j < 5) {
System.out.print(j + " ");
j += 2;
}
while (j < 5) {
System.out.print(j + " ");
j += 2;
}
Join the Discussion
Login to post a comment or share your explanation.
Login