Java View all facts Glossary Help |
syntactic unit > scoping unit > block > body > class body |
class body comparison table |
Subject | have syntax | has definition | have purpose | contain | is a subtopic of | is a synonym of | is a kind of |
---|---|---|---|---|---|---|---|
body | A block that is not nested inside another block | to create a new scope and/or to create a compound statement | several statements surrounded by braces | Statements and Expressions | block | ||
class body | { | A block that specifies the variable declarations, the methods and the constructors for the class | to specify the variable declarations, methods and constructors for a class | declarations for | Classes | class definition block | body |
Next body: interface body Up: body Previous body: method body