Quiz

Question 1 of 5. 0 correct, 0 incorrect.

Creating a Java array is three things, which can be written separately or collapsed onto one line. Put them in the order they happen.

  1. 1Slots are allocated, and each one takes its type's default value
  2. 2Values are written into the slots
  3. 3A variable is declared that can hold an array of that type
  4. 4The address of the new array is put into the variable