Keywords

The following are keywords in the Java language and should not be used as identifiers.

tb

tip.eps Keywords are case-sensitive. Thus, if you type If instead of if or For instead of for, the compiler complains about your error.

Two of these keywords — const and goto — are reserved by Java but don’t do anything.

Get Java For Dummies Quick Reference 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.