What are the naming restrictions for a variable? 1.
Question 1:
What are the naming restrictions for a variable? 1. Must not begin with an alphabetic character 2. Cannot contain an embedded period 3. Must not exceed 255 character 4. Must be unique in the scope in which it is declared 5. Cannot contain an underscore
A.(1) ,(3) and (5)
B.(2) and (4) only
C. (2) and (5) only
D.(2), (3) and (4) only
FeedbackA variable name must be unique and in the scope in which it is declared. it should not exceed 255 chars and also it should not contain an embedded period
These questions are from this test. Would you like to take a practice test?