Asked by Angela Pantoja on May 17, 2024

verifed

Verified

Initialize the array created in number 11 above to -1.0.

Initialize

The process of setting initial values to variables or starting conditions for an object or application.

Array

A data structure that stores a collection of elements, typically of the same data type, indexed by contiguous integers.

  • Acquire knowledge on and application of core methods for Java array declaration and initialization.
  • Use looping constructs for the purpose of array initialization and adjustment.
verifed

Verified Answer

TD
Thùy D??ngMay 19, 2024
Final Answer :
forint row = 0;row < myDoubles.length;row++)
forint column = 0;column < myDoubles[row].length;column++)
myDoubles[row][column] = -1.0;