KnowledgeBoat Logo
|
LoginJOIN NOW

Computer Science

What do you understand by Token? Name different types of tokens used in Java.

Values & Data Types Java

14 Likes

Answer

A token is the smallest element of a program that is meaningful to the compiler. The different types of tokens in Java are:

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

Answered By

7 Likes


Related Questions