Computer Applications
Which of the following are invalid identifiers?
i. ten
ii. "Hello"
iii. 5678
iv. Coffee
v. $dollar
vi. 4Variables
vii. _var
Values & Data Types Java
27 Likes
Answer
- "Hello" is invalid as identifiers cannot contain double quotes.
- 5678 is invalid as identifiers cannot start with a digit.
- 4Variables is invalid as identifiers cannot start with a digit.
Answered By
15 Likes