Java Language Keywords Here is a list of keywords in the Java programming language. You cannot use any of the following as identifiers in your programs. The keywords const and goto are reserved, even though they are not currently used. true, false, and null might seem like keywords, but they are actually literals; you cannot use them as identifiers in your programs. 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 * not used ( const* , goto* ) ** added in 1.2 ( strictfp** ) *** added in 1.4 ( assert*** ) **** added in 5.0 ( enum**** ) Note: The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advan...
This is a personal blog
Comments
Post a Comment