Keywords in Java
Everyone knows about keywords which are used in Java, I'm not going to discuss that, I'm going to discuss which makes some people confusing, which are about goto, const, true, false, null.
goto & const
In early days of Java goto & const were used as keywords in Java, but further goto excluded from Java programming because goto allows user to jump from one section of the program to another section of the program which may generate hold and wait for resource problem, which is very bad programming experience, for this reason, goto was got exclude from the Java keyword library.
About const, it decided that this keyword will be used kept reserved for the future use so const keyword also got excluded from the Java keyword list.
true, false, null
true, false, and null are not keyword, they are literals, they are also reserved words and they can not be used as identifiers.
I think this information will make you more knowledgeable about Java keywords.