Java View all facts Glossary Help |
syntactic unit > scoping unit > block > nested block > initialization block > instance initialization block |
instance initialization block | ||||
subject | fact |
instance initialization block | is a subtopic of Classes | |
is a kind of initialization block | ||
initialization block | has purpose to be executed before any method for a class or instance | |
nested block | should be indented carefully | |
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 | ||
syntactic unit | has syntax rule bold = mandatory |