break的一个另类用法
java
public class Test {
public static void main(String[] args) throws IOException {
saveLabel: {
boolean isFlag = true;
if (isFlag) {
System.out.println("hehehehe");
break saveLabel;
}
System.out.println("www");
}
System.out.println("ttt");
}
}