What is the correct syntax for creating an array?

A. var arrayName = new Arrays(number of elements);
B. var arrayName: Array(number of elements);
C. arrayName + number of elements;
D. var arrayName = new Array(number of elements);

Answer: D

Computer Science & Information Technology

You might also like to view...

If you placed two images side by side and assigned each a width of 45%, how much room would be left for the margin, padding, and border?

A. 5% B. 10% C. 45% D. 100%

Computer Science & Information Technology

? Referring to the figure above, a table row consists of a ____ series of cells tat are grouped in atrelement.

A. vertical B. horizontal C. Both A and B. D. Neither A nor B.

Computer Science & Information Technology