Java Reference
In-Depth Information
Chapter 3
Program Control Statements
Key Skills & Concepts
Input characters from the keyboard
Know the complete form of the
if
statement
Use the
switch
statement
Know the complete form of the
for
loop
Use the
while
loop
Use the
do-while
loop
Use
break
to exit a loop
Use
break
as a form of goto
Apply
continue