Computer Science, asked by varshitha952, 1 year ago

? list of various types of tokens supported by java

Answers

Answered by Anonymous
5

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:
Answered by gokulsubbarayan75
2

Answer:

In Java, a program is a collection of classes and methods, while methods are a collection of various expressions and statements. Tokens in Java are the small units of code which a Java compiler uses for constructing those statements and expressions. Java supports 5 types of tokens which are:

(i) Keywords

(ii) Identifiers

(iii) Literals

(iv) Operators

(v) Special Symbols

Similar questions