See
JLS - 3.9 Keywords...
The keywords const and goto are reserved, even though they are not currently used. This may allow a Java compiler to produce better error messages if these C++ keywords incorrectly appear in programs.
Java does not have a "goto." There is something similar in the context of loops -- using a label along with continue and break. See
The infamous "goto" section from Eckel's
Thinking in Java. [ July 22, 2007: Message edited by: marc weber ]