Created
February 8, 2015 04:41
-
-
Save shigemk2/2d5c6224d255d3900443 to your computer and use it in GitHub Desktop.
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
// http://www.javadrive.jp/start/break/index3.html | |
class JSample3_1{ | |
public static void main(String args[]){ | |
outside: for (int i = 1; i < 5; i++){ | |
for (int j = 1; j < 5; j++){ | |
if (i * j > 10){ | |
break outside; | |
} | |
System.out.println(i + "*" + j + "=" + (i * j)); | |
} | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment