Collections vs Arrays regarding sort() What is the difference between these two regarding sort() method? I know Arrays\' sort() is using binary search for sort(), what about Co
I know Arrays' sort() is using binary search for sort()
No, you don't know any such thing. It doesn't do that. See the Javadoc.
The statement doesn't even make sense. You can't 'use binary search for sort'. Binary search only worked when the data is already sorted. Maybe what you read is that Arrays.binarySearch()
assumes the data is sorted.