132k views
4 votes
Which one of these variables has an illegal name?

Select one:

a. $my_Vars

b. $my_Var

c. $my-Var

d. $myVar

1 Answer

5 votes

Answer:

c.$my-Var

Step-by-step explanation:

u can use an underscore or join together but you cant use it in that form

User Nahtnam
by
7.4k points

No related questions found