A

Keywords

The following keywords are reserved in Java, so you must not use them as names in your programs:

image

Although they are not keywords, you should not use the boolean values true and false or the value null as names in your programs.

Note that const and goto have not been used in the Java language up to now, but they are still reserved words and you must not use them as names.

Get Ivor Horton's Beginning Java®, Java 7 Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.