What do the curly braces with the number 42 do to the array in this scenario?
Class Example {
static void g(int[] array) {
array[1] = 19;
array = new int[] {42};
}
static void f() {
int [] array = new int[1];
g(array);
}
}