![]() |
subject > programming language construct > block > Java block > Java else block |
![]() ![]() | ||||
Java else block | ||||
subject | fact |
Java else block | can be omitted if there is nothing to do in the false case | ![]() |
is a subtopic of The Basics of Java | ![]() | |
is part of Java if statement | ![]() | |
is a kind of Java block | ![]() | |
Java 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) | ![]() | |
is used as the body of classes, loops, conditional statements and for exception handling | ![]() |