Question: ( 1 point ) The following array declaration does not work. Why? var sample = new array ( 1 ) ; a . sample is

(1 point) The following array declaration does not work. Why? var sample = new array(1);
a. sample is not a meaningful name
b. array should be capitalized
c. new should be capitalized
d. an array must have at least two elements; change 1 to 2
d>a,b,cord>
( 1 point ) The following array declaration does

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!