Answer the question
In order to leave comments, you need to log in
Why doesn't a Java program compile?
package com.company;
public class lesson {
public static void main(String[] args) {
block1:{
block2:{
block3:{
System.out.println("start");
break block2;
}
System.out.println("3 break");
}
System.out.println("2 break");
}
System.out.println("1 break");
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question