What is the function of the binarySearch() method from the java.util.Arrays class?

What is the function of the binarySearch() method from the java.util.Arrays class?



Answer: searches either the whole array, or only a select part of it.


Learn More :

Data Structures

Learn More Multiple Choice Question :