带标记的break和continue
enum Size {BIG, SMALL};public class Test {public static strictfp void main(String[] args) throws InterruptedException {//以枚举作为case判断条件Size size = Size.SMALL;switch(size){case SMALL:System.out.println("小号");break;case BIG:System.out.println("大号");break;}//带标记的breakint i = 0;loop:while (true) {while (true) {i++;System.out.println(i);if (i == 100) break loop;}}//带标记的continueloop1:while(true){i++;System.out.println(i);if(i == 200) {i = 100;continue loop1;}break;}}}