19.8.4
Productions from 8.5: Static Initializers
LALR(1) GRAMMAR
MethodDeclarator:
Identifier
(
FormalParameterList
opt
)
MethodDeclarator
[ ]
FormalParameterList:
FormalParameter
FormalParameterList
,
FormalParameter
FormalParameter:
Type VariableDeclaratorId
Throws:
throws
ClassTypeList
ClassTypeList:
ClassType
ClassTypeList
,
ClassType
MethodBody:
Block
;
19.8.4 Productions from 8.5: Static Initializers
StaticInitializer:
static
Block
19.8.5 Productions from 8.6: Constructor Declarations
ConstructorDeclaration:
Modifiers
opt
ConstructorDeclarator Throws
opt
ConstructorBody
ConstructorDeclarator:
SimpleName
(
FormalParameterList
opt
)
ConstructorBody:
{
ExplicitConstructorInvocation
opt
BlockStatements
opt
}
ExplicitConstructorInvocation:
this (
ArgumentList
opt
) ;
super (
ArgumentList
opt
) ;
444
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved