KnowledgeBoat Logo

Computer Applications

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

Values & Data Types Java

ICSE

38 Likes

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.

Answered By

25 Likes


Related Questions