Nested if Statements
The body of an if statement or else clause can be another if statement
These are called nested if statements
See Football_Choice.java
Note: an else clause is matched to the last unmatched if (no matter what the indentation implies)
Previous slide
Next slide
Back to first slide
View graphic version