| Key words |
Describe |
| Abstract |
Abstract methods, modifiers for abstract classes |
| Asset |
Whether the assertion condition satisfies |
| Boolean |
Boolean Data types |
| Break |
Jump out of a loop or label code snippet |
| Byte |
8-bit (BIT) signed data type |
| Case |
A condition for a switch statement |
| Catch |
Match the try with catch exception information |
| Char |
Unicode character data type for 16-bit |
| Class |
Defining classes |
| Const |
Not used |
| Continue |
Do not perform the remainder of this cycle |
| Default |
Default |
| Do |
Loop statement, executed at least once |
| Double |
64-bit double-precision floating-point |
| Else |
If is not the branch that executes immediately |
| Enum |
Enum type |
| Extend |
Represents a class that is a subclass of another class |
| Final |
Indicates that a value cannot be changed after initialization.
Indicates that a method cannot be overridden, or that a class cannot have subclasses |
| Finally |
Designed to complete code execution, primarily for program robustness and integrity, code execution, whether or not an exception occurs |
| Float |
32-bit (BIT) single-precision floating-point number |
| For |
For Loop statement |
| Goto |
Not used |
| If |
Conditional statements |
| Implements |
Indicates that a class implements an interface |
| Import |
Import class |
| Instance |
To test whether an object is an instance of a class |
| Int |
32-bit (bit) shaping number |
| Interface |
interface, an abstract type, with only the definition of methods and constants |
| Long |
64-bit (bit) shaping number |
| Native |
Represents methods implemented in non-Java code |
| New |
Assign an instance of a new class, or a new method type |
| Package |
A series of related composition a package |
| Private |
Represents a private field, or method, etc., accessible only from within the class |
| Protected |
Indicates that a field can only be accessed through a class or its subclasses
Subclasses or other classes within the same package |
| Public |
Method that represents a shared property |
| Return |
Method return value |
| Short |
16-digit number |
| Static |
Represents the level definition at the class, where all instances are shared |
| Strictfp |
Floating-point comparisons use strict rules |
| Super |
Represents a base class |
| Switch |
SELECT statement |
| Synchronized |
Represents a block of code that can only be accessed by one thread at a time |
| This |
Represents the invocation of the current instance
or call another constructor |
| Throws |
Defining exceptions that a method might throw |
| Transient |
Modify fields that do not serialize |
| Try |
Indicates that the code is going to do an exception handling or that a finally mate indicates whether throwing an exception executes the code in the finally |
| void |
Tag method does not return any values |
| Volatitle |
Tag fields may be accessed by multiple threads at the same time without synchronizing |
| While |
While loop |