Computer Science, asked by david16, 1 year ago

what are tokens in java??

Answers

Answered by peetakatniss4ever
1
hello friend here's your answer

a token is the smallest meaningful element in the java computer language. it may be a keyword or a variable or constant or identifiers.

hope it helps
Answered by Anonymous
3

Answer:

In Java language, Java tokens are the basic building blocks. They are combined to form an instruction. The smallest individual units in a Java program are known as Java tokens. Java has six types of tokens:

  • Reserved Keywords
  • Identifiers
  • Literals
  • Operators
  • Separators
  • White Space
Attachments:
Similar questions