Java View all facts Glossary Help |
syntactic unit > statement > control flow statement > break statement |
break statement comparison table |
Subject | have example | jump |
---|---|---|
labelled break statement | //Without the label the break statement would exit the inner loop and resume execution with the outer loop | |
unlabelled break statement | //Without a label the break statement exits the inner loop and resumes execution with the outer loop | outside the nearest loop to an enclosing loop or to the next statement outside the loop |
Next control flow statement: continue statement Up: control flow statement Previous control flow statement: return statement