Java   View all facts   Glossary   Help
syntactic unit > scoping unit > block > body > class body
Next bodyinterface body    Upbody    Previous bodymethod 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 blockto create a new scope and/or to create a compound statementseveral statements surrounded by bracesStatements and Expressions block
class body
{
class element
}
where class element can be 0 or more of: variable declarations, constructors, initialization blocks, methods
A block that specifies the variable declarations, the methods and the constructors for the classto specify the variable declarations, methods and constructors for a classdeclarations forClassesclass definition blockbody

Next bodyinterface body    Upbody    Previous bodymethod body