What are the names of the methods to do searching and sorting respectively on arrays?
binarySearch()
and Arrays.linearSort()
binarySearch()
and Arrays.sort()
search()
and Arrays.linearSort()
search()
and Arrays.sort()
B.
The sort()
and binarySearch()
methods do sorting and searching, respectively.