Java keywords are 50 reserved words which have a very specific meaning in the application code. Programmers should not use these keywords for any other purpose than what they are meant to be.
1. Java keywords features
- Given is the list has all reserved java keywords. We cannot use any of the following as identifiers in our programs.
- The keywords
gotoare reserved, even though they are not currently used.
nullmight seem like keywords, but they are actually literals; we cannot use them as identifiers in our programs.
strictfpwas added in JDK 1.2.
assertwas added in JDK 1.4.
enumwas added in JDK 1.5.
2. Java keywords list
Learning about all keywords in single page is not possible. We will learn about each Java keyword in it’s dedicated tutorial.
Happy Learning !!