Analyze the use of a "break" statement in a while loop in this Java code:
int i = 0;
while (true) {
if (i == 3) break;
System.out.println(i);
i++;
}
Analyze the use of a "break" statement in a while loop in this Java code:
int i = 0;
while (true) {
if (i == 3) break;
System.out.println(i);
i++;
}