A reserved word (also known as a keyword) is a word that has a predefined meaning in the programming language and cannot be used as an identifier (i.e., as a name for classes, methods, variables, etc.).
Here is a list of all the reserved words in Java:
*Note: “const” and “goto” are technically reserved words in Java, but they are not used in the language and are reserved for future use.
Join the conversation