December 2021
Intermediate to advanced
944 pages
26h 25m
English
This appendix lists all keywords and keyword-like words of the Java language. A “restricted keyword” is a keyword only in a module declaration, and otherwise an identifier. A “restricted identifier” is an identifier unless it is used in certain positions. For example, var is always an identifier unless it is used where a type is expected. The symbols null, false, and true are not keywords but literals.
Table A.1 Java Keywords
Keyword |
Meaning |
Type |
See Chapter |
|---|---|---|---|
|
An abstract class or method |
Keyword |
5 |
|
Used to locate internal program error |
Keyword |
7 |
|
The Boolean type |
Keyword |
3 |
|
Breaks out of a switch or loop |
Keyword |
3 |
|
The 8-bit integer type |
Keyword |
3 |
|
A case of a |
Keyword |
3 |
Read now
Unlock full access