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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.