static initialization block | has purpose to be executed when the class loader loads the class | |
is a subtopic of Classes | |
is a kind of initialization block | |
nested block | should be indented carefully | |
block | contains several statements surrounded by braces | |
has example { a =5; b = computeSomething; } | |
has layout example style preferred by Sun:if(condition) { // statements } | |
has layout example style preferred by the authors:if(condition) { // statements } | |
is used as the body of classes, loops, conditional statements and for exception handling | |
syntactic unit | has syntax rule bold = mandatory italic = non-terminal normal font = optional | |