![]() |
syntactic unit > scoping unit > block > body > class body |
![]() ![]() | ||||
class body (class definition block) | ||||
subject | fact |
class body | cannot contain executable statements except inside blocks | ![]() |
contains declarations for | ![]() | |
has definition A block that specifies the variable declarations, the methods and the constructors for the class | ![]() | |
has purpose to specify the variable declarations, methods and constructors for a class | ![]() | |
has syntax { | ![]() | |
is a subtopic of Classes | ![]() | |
is a kind of body | ![]() | |
is a synonym of class definition block | ![]() | |
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 | ![]() |