Java Character Set
Java Character Set
Tokens
Keywords: Keywords are the words that convey a special meaning to the language
compiler. These are reserved for special purpose and must not be used as a normal
identifier names. Eg:- public class void, main, int, double etc.
Identifiers: They are used as the general terminology for the names given to
different parts of the program like variable names, class names, object names, array
names etc.
Literals/Constants
A literal is a sequence of characters used in a program to represent a constant value
(fixed data) like integer literal, floating literal, boolean literal etc.
Operators
Operators are basically the symbols or tokens that perform specific operations on
operands.
Separators/Punctuators
They are the special characters in Java, which are used to separate the variables or
the characters.