Shouldn't this loop infinitely?
someLabel:{
for (int i = 0; i < 5; ++i) {
System.out.println(i);
if (i == 3)
break someLabel;
}
}
It goes
0
1
2
3
Then dies. I was reading a question about an alternative to GOTO in Java. This was the accepted answer: https://stackoverflow.com/a/2430789/555690. Shouldn't the for loop be executed again?