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 [पृष्ठ ३३]