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