KnowledgeBoat Logo

Computer Applications

Which of the following is an illegal identifier?

  1. age
  2. 123abc
  3. _value
  4. $\text{\textdollar}salary

Values & Data Types Java

7 Likes

Answer

123abc

Reason — 123abc is not a valid identifier because it starts with a number, which is not allowed.

Answered By

5 Likes


Related Questions