Java View all facts Glossary Help |
syntactic unit > scoping unit > block > nested block |
nested block | ||||
subject | fact |
nested block | has definition A block that is nested inside another block | |
is a subtopic of Statements and Expressions | ||
is a kind of 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) | ||
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 |
Kinds of nested block :