Consider the following method:
public static int mystery(int[] nums) { int total = 0; for (int k = 0; k < nums.length/2; k++) total = total + nums[k]; return total; }
Assume that the array test has been declared and initialized as follows.
int[] test = {1, 3, 2, 5, 8, 7, 0};
What value will be returned as a result of the call mystery(test)?