Solved

Which Statement Is False

Question 1

Multiple Choice

Which statement is false?


A) Java does not guarantee which item will be found first when a binarySearch is performed on a List containing multiple elements equivalent to the search key.
B) If the search key is found, method binarySearch returns the List index (position relative to 1) of the element containing the search key.
C) The binary search algorithm is fast.
D) Method binarySearch takes a List as the first argument.

Correct Answer:

verifed

Verified

Related Questions