What does the following statement do?

double[] array1 = new double[10];
a. It declares array1 to be a reference to an array of double values.
b. It will allow valid subscripts in the range of 0 through 9.
c. It creates an instance of an array of ten double values.
d. It does all of these.


d. It does all of these.

Computer Science & Information Technology

You might also like to view...

Only one extended partition can be created on a single physical drive

Indicate whether the statement is true or false

Computer Science & Information Technology

A procedure in a subclass that has the same name as a procedure in its base class must be declared in the subclass with the ____ keyword.

A. Overridable B. Overrides C. Replaceable D. Replaces

Computer Science & Information Technology