Java   View all facts   Glossary   Help
syntactic unit > scoping unit > block > body > interface body
Next bodymethod body    Upbody    Previous bodyclass body   

interface body
subjectfact 
interface bodyhas definition One of two parts of an interface definition (the other part is the interface declaration)added by: JK, reference: Source 2, 2001-10-19 11:37:00.0
has part constant declarations and method declarationssource: Sun Java Tutorial, 2001-10-19 11:37:00.0
has purpose to specify the constant declarations and method declarations of an interfaceadded by: JK, 2001-10-19 11:37:00.0
is part of 1 interface definitionsource: Sun Java Tutorial, 2001-10-19 11:37:00.0
is a subtopic of Interfaces2001-10-19 11:37:00.0
is a kind of bodyadded by: JK, 2001-10-19 11:37:00.0
blockcontains several statements surrounded by braces    2001-10-19 11:36:10.0
has example
{
a =5;
b = computeSomething;
}   
2001-10-19 11:36:10.0
has layout example style preferred by Sun:
if(condition) {
// statements
}
2001-10-19 11:36:10.0
has layout example style preferred by the authors:
if(condition)
{
// statements
}
2001-10-19 11:36:10.0
is used as the body of classes, loops, conditional statements and for exception handling    2001-10-19 11:36:10.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0