Chapter 7. Flow Control

Terms you'll need to understand:

  • break

  • continue

  • if

  • else

  • do

  • while

  • for

Techniques you'll need to master:

  • Recognizing the legal forms of the if and switch statements

  • Writing loops with for, do, and while

  • Predicting the flow of control through complex nested control structures

  • Using break and continue with statement labels in loops

Get Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.