next up previous contents index
suivant: C.10 Static Initializers monter: C. Grammaire LALR(1) précédent: C.8 Field Declarations   Table des matières   Index

C.9 Method Declarations


MethodDeclaration: 

MethodHeader MethodBody
MethodHeader:
Modifiers$_{\mathsf{opt}}$ Type MethodDeclarator Throws$_{\mathsf{opt}}$
Modifiers$_{\mathsf{opt}}$ void MethodDeclarator Throws$_{\mathsf{opt}}$
MethodDeclarator:
Identifier ( FormalParameterList$_{\mathsf{opt}}$ )
MethodDeclarator [ ]
FormalParameterList:
FormalParameter
FormalParameterList , FormalParameter
FormalParameter:
Type VariableDeclaratorId
Throws:
throws ClassTypeList
ClassTypeList:
ClassType
ClassTypeList , ClassType
MethodBody:
Block
;



Rene' LALEMENT 2001-11-07