Computer Applications
Answer
Token | Identifier |
---|---|
Each individual component of a programming statement is referred to as a token. | Identifiers are fundamental building blocks of the program and are used to name different components of a program such as variables, methods and objects. |
Tokens in Java are categorised into 5 types — Keywords, Identifiers, Literals, Punctuators, Operators. | Identifier is a type of token in Java. |