Key Words:
1. words that are given a specific meaning by the Java language
2. features:
All lowercase
3. Precautions:
A:goto and const exist as reserved words.
B: High-level notebooks like notepad++ have special color tags on keywords
in the Notepad+ + The keywords in this advanced Notepad will change Color.
Attention:
Main is not a keyword
|
Keywords used to define access rights modifiers |
|
|
|
|
|
Private |
Protected |
Public |
|
|
|
Keywords for defining classes, functions, variable modifiers |
|
|
|
|
|
Abstract |
Final |
Static |
Synchronized |
|
|
Keywords used to define the relationship between classes and classes |
|
|
|
|
|
Extends |
Implements |
|
|
|
|
Used to define instance and reference instances, and to determine the keywords |
|
|
|
|
|
New |
This |
Super |
instanceof |
|
|
Keywords for exception handling |
|
|
|
|
|
Try |
Catch |
Finally |
Throw |
Throws |
|
Keywords for the package |
|
|
|
|
|
Package |
Import |
|
|
|
|
Other modifier keywords |
|
|
|
|
|
Native |
Strictfp |
Transient |
Volatile |
Assert |
Java fundamentals: Keywords