June 2004
Intermediate to advanced
848 pages
21h 28m
English
Expression Statements
Selection Statements
Looping Statements
Transfer of Control Statements
Comments
Exercises
Some Light Relief—MiniScribe: The Hard Luck Hard Disk
Huh? What is it, Lassie? What is it, girl?
You say someone has left the braces off their if statement, and that it's likely to be a maintenance problem? Good girl, Lassie!
Statements are the way we get things done in a program. Here are the most common statements in Java.
|
Organizing statements |
|
and |
emptyStatement |
|
Expression statement |
someExpression |
||
|
Selection statements |
ifswitch |
||
|
Looping statements |
forwhile |
||
|
Transfer of control |
|
Read now
Unlock full access