The most common Control Statements in Java
Control Statement Nested if
The nested if Statement:
Nested if are very
common in programming. Nesting an if Statement
just means putting one if Statement inside of another. when you nest ifs, the
main thing to remember is that an else statement always refers to the nearest
if statement that is with in the same
block as the else and that is not already associated with an else.