Java Reference
In-Depth Information
5
Control Statements: Part 2;
Logical Operators
The wheel is come full circle.
—William Shakespeare
All the evolution we know of
proceeds from the vague to the
definite.
—Charles Sanders Peirce
Objectives
In this chapter you'll:
Learn the essentials of
counter-controlled repetition.
Use the for and do while
repetition statements to
execute statements in a
program repeatedly.
Understand multiple
selection using the switch
selection statement.
Use the break and
continue program control
statements to alter the flow
of control.
Use the logical operators to
form complex conditional
expressions in control
statements.
 
 
Search WWH ::




Custom Search