1
What will be the output of the program?
class Test {
public static void main(String[] args) {
int i = 0;
outer:
while (true) {
i++;
inner:
for (int j = 0; j < 10; j++) {
i += j;
if (j == 3)
continue inner;
break outer;
}
continue outer;
}
System.out.println(i);
}
}
Please log in or register to have a possibility to add comment.