Consider the following array of integers:

int[] arr = {1, 3, 5, 7, 9};

What statement changes the 7 in this array to an 8?

arr[3] = 8;
  • arr[4] = 8;
  • arr[3] = arr.get(3) + 1;
  • arr.set(3, 8);

There are no hints for this question