What is returned by the following code if we pass in the array [65, 78, 29, 71]?
public static int codeBlock(int[] array) {
int a = 0;
int c = 0;
for (int i = 0; i < array.length - 1; i++) {
int b = 1;
for (int j = i + 1; j < array.length; j++) {
if (array[j] == array[i]) {
b++;
}
}
if (b > c) {
a = array[i];
c = b;
}
}
return a;
}