? list of various types of tokens supported by java
Answers
Answered by
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
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
Math,
8 months ago
Math,
8 months ago
Political Science,
8 months ago
Physics,
1 year ago
Computer Science,
1 year ago