Tuesday, October 23, 2012

reserved words in java?


The table below lists all the words that are reserved:

abstract assert boolean break byte case
catch char class const* continue default
double do else enum extends false
final finally float for goto* if
implements import instanceof int interface long
native new null package private protected
public return short static strictfp super
switch synchronized this throw throws transient
true try void volatile while
*Even though goto and const are no longer used in the Java programming language, they still cannot be used.

http://java.about.com/od/javasyntax/a/reservedwords.htm

No comments:

Post a Comment