Branching Statements
The Java programming language supports three branching statements:
1.The break statement
2.The continue statement
3.The return statement
The
break
statement and the continue
statement, which are covered
next, can be used with or without a label. A label is an identifier
placed before a statement. The label is followed by a colon (:
):
statementName: someJavaStatement;