Learn Java
SCJP and SCWCD study notes
10/02/2008
If / elseif / else
These are for setting conditions in program.
if (condition) {
...
} else if (another condition) {
...
} else {
...
}
The condition statement should return
boolean.
___
example
Newer Post
Older Post
Home