break, continue without label, can only jump out or continue the current loop, according to an example, I will give you
Lable1: for(int i = 0; i < 5; i++){
label2: for(int j = 0; j < 33; j++ ){
if(j == 3){
break;//Jump out of the j loop and continue the i loop
break Lable1://call out the i loop, all loops end
break lable2://jump out of the j loop, continue the i loop
continue;// Continue the j loop
continue Lable1://jump to the i loop and start the next loop
continue lable2://continue the j loop } } }
Lable1: for(int i = 0; i < 5; i++){
label2: for(int j = 0; j < 33; j++ ){
if(j == 3){
break;//Jump out of the j loop and continue the i loop
break Lable1://call out the i loop, all loops end
break lable2://jump out of the j loop, continue the i loop
continue;// Continue the j loop
continue Lable1://jump to the i loop and start the next loop
continue lable2://continue the j loop } } }