The Identifier following the type name becomes the variable’s name. The variable name must be unique with respect to other variables declared within the same scope in which the variable declaration occurs. Variable names cannot be the same as any of the keywords listed in
Lexical Elements.
The diagram is also true for reference variable declarations, however additional detail about reference variable declarations is in
Reference-type variable declarations.