Next: Productions from 8.4: Method
Up: Productions from 8: Class
Previous: Productions from 8.1: Class
Declarations of fields and local variables have the same form, and the
published grammar uses the same set of rules for both.
The scope rules for fields are completely different from those for local
variables, however, so it makes sense to distinguish their declarations
Productions from 8.3: Field Declarations
Modifiers Type FieldDeclarators ';' .
FieldDeclarators ',' FieldDeclarator .
FieldDeclaratorId '=' Initializer .
FieldDeclaratorId '[' ']' .
This macro is invoked in definition 38.