You have created an array using val. Can you change the value of any element of the array—and why or why not?
No, val makes the array and values of the array immutable.
Yes, val does not make arrays immutable.
The 0th element is immutable and cannot be modified. All other elements can be modified.
Yes, the reference to the array is immutable, so the location that the array points to is immutable. The values in the array are mutable.