Chapter 5: Booleans and Flow Control

This chapter covers two different but complementary topics, booleans and flow control. Flow control statements let your program do different things depending on the result of a test. The results of those tests are returned as booleans. Given two possible paths, which do you take? Booleans let you make that choice.

The following pages have the complete source code and examples from Chapter 5, Booleans and Flow Control, from the Java Developer's Resource.

Examples from Other Chapters
[ Cafe Au Lait | Books | Trade Shows | Links | FAQ | Tutorial | User Groups ]
Copyright 1996 Elliotte Rusty Harold
Last Modified July 22, 1996