ICSE Class 10 Computer Applications Question 4 of 25

Values and Data Types — Question 4

Back to all questions
4
Question

Question 4

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 five tokens in Java.