Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to name loops in java

public class Main{
  public static void main(String[]args){
    loop:
    for(int c = 0;c < 10;c++){
      loop2:
      for(int i = 0;i < 10;i++){
      	break loop;
        continue loop;
      }
    }
  }
}
 
PREVIOUS NEXT
Tagged: #loops #java
ADD COMMENT
Topic
Name
4+5 =