by Dinesh Thakur Category: Java Language

Keywords also known as reserved words are the pre-defined identifiers reserved by Java for a specific purpose and used only in a limited, specific manner. A Keyword is that which have a special meaning those are already been explained to the java  language   like int, float, class, public etc these are the reserve keywords. They cannot be used as identifiers because they have special meaning within the language.

Always Remember that we can t give a name to a variable as  the name of a keyword Java Provides us the 60 Keywords All the Keywords are to be written into the lower case because java is a Case Sensitive means Upper case and Lower case Letters are Different in java Some Keywords are inherit by the java language from c and C++ it  adds only 27 keywords like System, Interface, abstract, final etc .

                        List of Keywords in Java

In addition to the keywords in table, there are more reserved words in Java: true, false and null. Technically they are literal values and not keywords. However, they cannot be used as identifier and they have a special meaning to the Java compiler.


About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.