What is the purpose of the code below?
int[] newArray = new int[10]; Arrays.fill(newArray, 42);
Checks if newArray is empty
newArray
Deletes all elements in newArray
Sets all elements in newArray to the value 42
Copies the elements of another array into newArray