What's a Java lexical token?

The low level language elements are called lexical tokens (or tokens for short). They are the building blocks for more complex constructs. Identifiers, numbers, operator and special characters are all examples of tokens that can be used to build high-level constructs such as expressions, statements and classes.

No comments: