Created
October 14, 2017 16:01
-
-
Save esuomi/f4c7e680a9e4ee4d4abec625623ab233 to your computer and use it in GitHub Desktop.
this is even worse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Labels { | |
public static void main(String[] args) { | |
http://example.org | |
for (int i = 0; i <= 3; ++i) { | |
System.out.println("i = " + i); | |
if (i == 2) { | |
System.out.println("*cough*"); | |
i = 2; | |
continue http; | |
} | |
} | |
} | |
} | |
// prints | |
/* | |
i = 0 | |
i = 1 | |
i = 2 | |
*cough* | |
i = 3 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment