There are some words that you can’t use in your Java programming because the keywords have a special meaning to the Java compiler and Java functions. If you attempt to use any of these reserved keywords as variable names in your application, you will see a compile time error.
There are 50 reserved keywords in the Java programming language. In addition to those 50, there are 3 additional words that while not reserved you just can’t use them for variable names.
Reserved Literal Words
Even though both const and goto are reserved keywords in Java, they are not used in programming.