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