The Break Statement

The break statement causes exit from switch body. Controls goes to first statement following the end of the switch construct. If the break statement is not used the controls passes to the statement for the next case, and the remaining statements in the switch construct are executed.

No comments:

Post a Comment