public int[] post4(int[] nums) {
int i = nums.length - 1;
while(nums[i] != 4)
i--;

int[] arr = new int[nums.length - i - 1];

for(int j = 0; j < nums.length - i - 1; j++)
arr[j] = nums[i + j + 1];

return arr;
}
What does the above Java code represent?
a) A method to find the last occurrence of a specific value in an array.
b) A method to remove all occurrences of a specific value from an array.
c) A method to extract elements from an array that come after the last occurrence of 4.
d) A method to reverse the elements of an array.