English

Distinguish between Token and Identifier. - Computer Applications

Advertisements
Advertisements

Question

Distinguish between Token and Identifier.

Distinguish Between

Solution

S. No. Token Identifier
1. A component of a Java statement holds significance and contributes to the program's successful execution. They are also known as variables in Java. A variable is a named memory area that stores data of a specific type.
2. Examples are literals, punctuators, operators, keywords, etc. Example: int x;
In this statement, x is the variable. 
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - EXERCISES [Page 33]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.03 Values and Data Types
EXERCISES | Q III. 7. (a) | Page 33
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×