![]() |
syntactic unit > scoping unit > block > body > method body |
![]() ![]() | ||||
method body | ||||
subject | fact |
method body | can contain 0 or more local variable declaration | ![]() |
has definition One of two parts of an method definition (the other part is the method declaration) | ![]() | |
has purpose to specify the constant declarations and variable declarations of a method | ![]() | |
is a subtopic of Methods | ![]() | |
is a kind of body | ![]() | |
block | 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 | ![]() |