Which of the following is not a valid variable name in java?
Answers
Answered by
1
Answer:
Variable name cannot start with a digit. ... Explanation: Since only underscore and no other special character is allowed in a variable name, it results in an error.
Answered by
0
3names is not a valid JavaScript variable name.
Here are some of the rules for naming variables in JavaScript.
- Variable names ought to now no longer have any space.
- Variable call ought to start with an alphabetical letter, an underscore (_), or a greenback sign ($).
- Variable names can most effectively comprise letters, numbers, underscores, or greenback signs.
- The variable 3names is being begun with the number '3' hence is not valid.
(The complete question is: Which of the following is not a valid JavaScript variable name?
3names
_first_name
FirstName
None of the above)
Similar questions