distinguish between token and identifier
Answers
Answered by
6
There are 5 categories of Token.
1.Identifiers
2. keyword
3. seprator
4. literal
5. comment
Identifiers is the name that programmer chooses. This is one more difference between identifier and keyword. Identifier is the name the we choose and kewords are defined.
Mark this answer as brainliest..!!
Please...!!!
1.Identifiers
2. keyword
3. seprator
4. literal
5. comment
Identifiers is the name that programmer chooses. This is one more difference between identifier and keyword. Identifier is the name the we choose and kewords are defined.
Mark this answer as brainliest..!!
Please...!!!
Answered by
6
Smallest individual unit of a java program is know as Token
The named memory location which contains a value in known as Identifier
**Identifier is also known as variables. These are the named memory location which are use to store values.
eg:- int a=9;
here 'a' is the variable or the identifier.
** Token is the fundamental unit of java programming.It can be variables, operators, separators, constants etc
HOPE IT HELPED MARK AS BRAINLIEST
Similar questions