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...

Which of the following is a video compression format focused on more compact storage for more efficient transmission over networks?

A. .mp4 B. .vp8 C. .rm D. .wmv

Computer Science & Information Technology

When you use the VLOOKUP function, the ________ column in the array is used to look up the value

Fill in the blank(s) with correct word

Computer Science & Information Technology

What are the six basic art elements discussed in this chapter?

What will be an ideal response?

Computer Science & Information Technology

Report view is the default view when you open a report from the Navigation Pane. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology