Computer Science
What is meant by Token? Name all the tokens which are used in Java.
Values & Data Types Java
34 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:
- Identifiers
- Literals
- Operators
- Separators
- Keywords
Answered By
24 Likes
Related Questions
Explain the meaning of the following short hand operators:
+=
<<=
*=
>>=
%=
/=
!=
Arrange these operators according to their precedence:
Operators Precedence of Operators Logical AND Additive Relational Conditional Multiplicative Logical OR Assignment Postfix What are reserved words? Name at least five reserved words.
Explain Assignment operator with an example.