KnowledgeBoat Logo
|

Computer Applications

What is a token? Name different types of tokens.

Values & Data Types Java

252 Likes

Answer

A token is defined as each individual component of Java program that carries some meaning and takes active part in program execution. The different types of tokens in Java are:

  1. Identifiers
  2. Literals
  3. Operators
  4. Punctuators
  5. Separators
  6. Keywords

Answered By

155 Likes


Related Questions