What is Java Identifier
- Identifiers are the name given to the Class/interface, variable and method to identify them uniquely.
Rule of Identifier
The identifier name contains alphanumeric values eg. userName.
Identifiers name should not start with a numeric value eg. 1userName.
$, @, _ are the only special characters that can be used with the identifier.
An identifier can start with allowed special characters.
No spaces are allowed in between identifier
keyword can't used for identifier