Created
February 18, 2016 15:44
-
-
Save alexejVasko/5dc007a21931f445bb33 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| package logic; | |
| public class Break { | |
| /** | |
| * @param args | |
| */ | |
| public static void main(String[] args) { | |
| int i=1; | |
| while (true){ | |
| System.out.println(i); | |
| i++; | |
| if(i == 11) | |
| break; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment