Skip to content

Instantly share code, notes, and snippets.

@javadovjavad
Created September 14, 2014 12:18
Show Gist options
  • Save javadovjavad/ac2e8f1f699cd9f34d5c to your computer and use it in GitHub Desktop.
Save javadovjavad/ac2e8f1f699cd9f34d5c to your computer and use it in GitHub Desktop.
public class Branching {
public static void main(String[] args) {
disifade:
for (int i = 0; i < 100; i++) {
for (int j = 0; j < 50; j++) {
if (j<30){
System.out.println("i= "+i+" "+"j= "+j);
}else{
break disifade;
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment