what are the major difference between searching and sorting in java?
There is huge difference between sorting and searching in any language. Sorting means , arranging the numbers or alphabets in ascending or descending order. While Searching means , finding any element in given list.