ICSE Class 9 Computer Applications Question 3 of 14

Values and Data Types — Question 3

Back to all questions
3
Question

Question 3

What is a token in Java? Name the tokens available in Java.

Answer

All characters in a Java program are grouped into symbols called Tokens. As you know, a computer program consists of a set of instructions called statements. A statement is composed of various components. Each individual component of a programming statement is referred to as a token. Keywords, identifiers, Operators, Separators and literals are three tokens in Java.