public static void main(String[] args) {
List<Integer> list1 = Arrays.asList(1,2,3,4,5);
List<String> list2 = Arrays.asList("a","b","c","d");
a:
for (Integer a :list1){
System.out.println(a);
for(String b:list2){
System.out.println(b);
break;--跳出内部for循环
// break a;--跳出外部for循环
continue a;--调出外部循环,执行下次外部循环
}
}
}