Tag: His span port makes up end ext ATI Break out
First, the key word
given the special meaning of the Java language, use it as a special-purpose string (word) Note: All letters in the keyword are lowercase
Abstract |
Boolean |
Break |
Byte |
Case |
Catch |
Char |
Class |
Const |
Continue |
Default |
Do |
Double |
Else |
Extends |
Assert |
Final |
Finally |
Float |
For |
Goto |
If |
Implements |
Import |
instanceof |
Int |
Interface |
Long |
Native |
New |
Strictfp |
Package |
Private |
Protectde |
Public |
Return |
Short |
Static |
Super |
Switch |
Synchronized |
This |
Throw |
Shrows |
Transient |
Try |
void |
Volatile |
While |
|
java reserved word: The existing Java version is not yet used, but later versions may be used as keywords. Avoid using these reserved words when you name the tags yourself
Byvalue, cast, future, generic, inner, operator, outer, rest, VAR, goto, const
Second, identifiers
The sequence of characters used by Java to name features such as variables, methods, and classes is called identifiers.
To define a legal identifier rule:
- Made up of 26 letters in uppercase, 0-9, _ or $
- Numbers may not start.
- You cannot use keywords and reserved words, but you can include keywords and reserved words.
- Java is strictly case-sensitive and has unlimited length.
- Identifiers cannot contain spaces.
Java Keywords and identifiers