Consider the following method.
public static int getValue(int[] data, int j, int k)
{
return data[j] data[k];
}
Which of the following code segments, when appearing in another method in the same class as getValue, will print the value 70?
a. int arr = {40, 30, 20, 10, 0);
System.out.println(getValue(arr, 1, 2));
b. int[] arr = {40, 30, 20, 10, 0);
System.out.println(getValue(arr, 1, 2));
c. int[] arr = {50, 40, 30, 20, 10};
System.out.println(getValue(arr, 1, 2));
d. int arr = {40, 30, 20, 10, 0};
System.out.println(getValue(arr, 2, 1));
e. int arr = {50, 40, 30, 20, 10};
System.out.println(getValue(arr, 2, 1));