What Java keywords
Keywords : refers to the program, Java has defined the word has a special meaning.
Key features:
- By a fully lowercase letters
- There are special color in the development tool
What is Java identifier
Identifier : refers to the program, we own custom content. For example, the name of the class, method names and variable names, etc., are identifiers.
Identifier naming rules
Mandatory requirement
- Identifiers can contain 26 letters (case sensitive), 0-9, $ (dollar sign) and _ (underscore).
- Identifiers can not begin with a number.
- Identifiers can not be keywords.
Soft recommendations
- Specification class name: the first letter capitalized, behind each word capitalized (big camel).
- Specification method name: the first letter lowercase, behind each word capitalized (small camel).
- Variable name specification: all lower case.
- In line to meet EENOW
- Constants must be all uppercase letters. More words underlined links