Which of the following initializer lists correctly initializes the indexed variables of an array named myDoubles?

(a) double myDoubles[double] = {0.0, 1.0, 1.5, 2.0, 2.5};
(b) double myDoubles[5] = new double(0.0, 1.0, 1.5, 2.0, 2.5);
(c) double[] myDoubles = {0.0, 1.0, 1.5, 2.0, 2.5};
(d) array myDoubles[double] = {0.0, 1.0, 1.5, 2.0, 2.5};

(c) double[] myDoubles = {0.0, 1.0, 1.5, 2.0, 2.5};

Computer Science & Information Technology

You might also like to view...

The combination of a number on the left side and a letter on the top of a spreadsheet that addresses a cell

A) Cell reference B) Insertion point C) Coordinates

Computer Science & Information Technology

You disable a control by setting its Enabled property to False, and you enable it by setting its Enabled property to True.

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

Computer Science & Information Technology