answersLogoWhite

0


Best Answer

$my-Var

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

AnswerBot

8h ago

Variable names cannot start with a number or contain special characters except underscore. So, the variable "2myVar" has an illegal name.

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
3y ago

age, d_3, 7_days, name

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which one of these variables has an illegal name?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is Variable Shadowing in Java?

In Java, there are three kinds of variables: local variables, instance variables, and class variables. Variables have their scopes. Different kinds of variables have different scopes. A variable is shadowed if there is another variable with the same name that is closer in scope. In other words, referring to the variable by name will use the one closest in scope, the one in the outer scope is shadowed.A Local Variable Shadows An Instance VariableInside a class method, when a local variable have the same name as one of the instance variable, the local variable shadows the instance variable inside the method block.


What is a fraction with one or more variables in the numerator or denominator?

There is no specific name for such an object.


What is the other name of global variables?

Another name of global variable is "EXTERNAL VARIABLES".


Is it against the law to have credit cards in two different names?

Technically no, but lying about your name on an application is fraud, which is illegal. If both names are legitimately your name (if one is a nickname, or if one is your maiden name), then it's not illegal.


Is it possible to write in static variables in main method in java?

Short answer: No. Only class member variables may be declared static. Local variables with a static declaration will throw an error (usually "illegal start of expression").


What are the rules for a variables name?

One or more from these: characters: 0..9a..zA..Z_ but the first one cannot be a digit


What is an algebraic expression in which one term is the product of two variables?

There is no special name - other than product.


What does for shadowing mean?

shadowing in general is when two variables/methods or any other element has same name and any one of the both can shadow( in OOP case override) the behavior of the other one. garimashadowing in general is when two variables/methods or any other element has same name and any one of the both can shadow( in OOP case override) the behavior of the other one. garimashadowing in general is when two variables/methods or any other element has same name and any one of the both can shadow( in OOP case override) the behavior of other. garima


What is another name for independent variable?

independent variable called also predictor variables,explanatory variables,manipulated variables etc.


Is eliminating variables from equations equal to find the value of the variables?

No, but eliminating variables is one of several ways to find the value of variables in a system of equations.


What is the name of an equation that shows hoe one variable is related to one or more variables?

You maybe thinking of straight line equations or simultaneous equations


Is it illegal to have no name?

no