JAVA
Any programming language reserves some words to
represent functionalities defined by that language. These words are called
reserved words.
They can be briefly categories into two parts
: keywords(50) and literals(3).
Identifiers are used by symbol tables in
various analyzing phases(like lexical,syntax,semantic) of a compiler
architecture.
Note : The keywords
const and goto are reserved, even though they are not currently used. In place
of const, final keyword is used. Some keywords like strictfp are
included in later versions of Java.
Java
Reserved Keywords List
You can use keyword as identifier in your Java
programs, its reserved words in Java library and used to perform an internal
operation.
abstract |
assert |
boolean |
break |
byte |
case |
catch |
char |
class |
const |
continue |
default |
do |
double |
else |
enum |
extends |
final |
finally |
float |
for |
goto |
if |
implements |
import |
instanceof |
int |
interface |
long |
native |
new |
package |
private |
protected |
public |
return |
short |
static |
strictfp |
super |
switch |
synchronized |
this |
throw |
throws |
transient |
try |
void |
volatile |
while |
true |
false |
null |
true, false and null are
not reserved words but cannot be used as identifiers, because it is literals of
built-in types.