February 2014
Beginner
1248 pages
62h 25m
English
In addition to selection and repetition statements, Java provides statements break (which we discussed in the context of the switch statement)and continue (presented in this section and online Appendix L) to alter the flow of control. The preceding section showed how break can be used to terminate a switch statement’s execution. This section discusses how to use break in repetition statements.
Read now
Unlock full access