Thursday, 21 August 2014

JAVA TOKENS

Java program is made up of collection of classes.A class is defined by the set of declaration statements and methods containing executable statements. Most statements contain expressions, which describe the actions carried out on data.SMALLEST INDIVIDUAL UNIT IN A PROGRAM ARE KNOWN AS TOKENS
The compiler recognizes them for building up expressions and statements.
Java language includes five types of tokens.They are 
  • Reserved keywords
  • Identifiers
  • Literals
  • Operators
  • Separators

No comments:

Post a Comment