Wednesday 16 November 2016

KEYWORDS AND IDENTIFIERS IN JAVA

The keywords of any programming language identifies that programming language.In a Java Program there can be any number of keywords and each keyword has its own meaning .Keywords are the reserve words that cannot be used as variable names or identifiers.These are the special words that were designed at the time of development of Java Programming language.

Here is the list of keywords in Java programming language.We cannot use any one of these as identifiers in our program.The keywords const and goto are reserved,even though they are not currently used.True,False and null might seem like keywords,but they are actually literals.


While on the other hand in Java programming,Identifiers are the words that are selected by programmer and not designed at the time of development of Java programming language while following the naming rules for the variables.this means that the Identifiers can be used as variable names to hold the data.
Note:
Java is a case sensitive language which means that variable written as  'A' and 'a'  has different meaning in Java

No comments:

Post a Comment