W e b t u t o r i a l s

Define Java

Relationship in C, C++ and Java

Java Virtual Machine

Set Java Path

Java Tokens

Reserved Keywords

Identifiers

Literals

Operators

Operator Precedence

Escape Sequences

Java Tokens

Smallest individual units in a program are known as tokens. In simple terms, a java program is a collection of tokens, comments and white spaces. Java language includes 5 types of tokens. They are:
Reserved Keywords
Identifiers
Literals
Operators
Separators