Advertisements
Advertisements
प्रश्न
Distinguish between Token and Identifier.
फरक स्पष्ट करा
उत्तर
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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.03: Values and Data Types - EXERCISES [पृष्ठ ३३]