What will be the output of this Java code using the "while" loop?
int n = 1;
while (n <= 5) {
System.out.println(n);
n++;
}
What will be the output of this Java code using the "while" loop?
int n = 1;
while (n <= 5) {
System.out.println(n);
n++;
}