Keywords are predefined, reserved words used in Java programming that have special meanings to the compiler. For example:
Here,
is a keyword. It indicates that the variable
is of integer type (32-bit signed two's complement integer).
You cannot use keywords like
, etc as variable name (or identifiers) as they are part of the Java programming language syntax. Here's the complete list of all keywords in Java programming.