【Java】多层for循环嵌套时,break指定循环
Java提供了标签功能,在执行跳转语句,如break/continue时,可以通过标签指定跳转到哪个位置 breakPoint1: for (int i = 0; i < 100; i++) breakPoint2: for (int j = 0; j < 100; j++) breakPoint3: for (int k = 0; k < 100; k++) {