Fill in doubleAll so that it changes the array: every element becomes twice as large. The method returns nothing.
doubleAll
main prints the array afterwards, so the program prints 2, 4, 6 — the change survives because the array object is shared.
main
2
4
6