Java keywords list
Keywords are the words whose meaning hasĀ been already explained to the C compiler. The keywords cannot be used as variable names because if we do so we are trying to assign a new meaning to the keyword, which is not allowed by the compiler. Java has 50 keywords. List of java keywords is given below.
In addition to the keywords, Java reserves the following: true, false, and null. These are values defined by Java. You may not use these words for the names of variables, classes,and so on.