![]() |
syntactic unit > scoping unit > block > else block |
![]() ![]() | ||||
else block | ||||
subject | fact |
else block | can be omitted if there is nothing to do in the false case ![]() | ![]() |
is a subtopic of Loops and Decision Making | ![]() | |
is part of if statement | ![]() | |
is a kind of block | ![]() | |
block | contains several statements surrounded by braces ![]() | ![]() |
has example { | ![]() | |
has layout example style preferred by Sun:if(condition) { | ![]() | |
has layout example style preferred by the authors:if(condition) | ![]() | |
has purpose to create a new scope and/or to create a compound statement | ![]() | |
is used as the body of classes, loops, conditional statements and for exception handling ![]() | ![]() | |
syntactic unit | has syntax rule bold = mandatory | ![]() |