Skip to content

Instantly share code, notes, and snippets.

@e-tverdokhleb
Created November 17, 2015 01:59
Show Gist options
  • Save e-tverdokhleb/a4753ea3468e959c7dd3 to your computer and use it in GitHub Desktop.
Save e-tverdokhleb/a4753ea3468e959c7dd3 to your computer and use it in GitHub Desktop.
public class Temp {
public static void main(String[] args) {
int i=1;
while (true){
System.out.println(i);
i++;
if (i > 10){
break;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment