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
Use Arrays.sort() if you're dealing with an Array. Use Collections.sort() if you're dealing with something that implements the Collection interface (eg ArrayList).