12. (D) The method returns the index of the key parameter, 4. Since a[0] contains 4, binSearch(4) will return 0.