Hi all, I have a very basic question I have an array and I sorted the values using Arrays.sort method. But I am not able to figure out as to how to retrieve the individual sorted values? Example: static int[] test1={3,10,1,2,19,0} Arrays.sort(test1); Say, if I have 2 arrays and I have to compare values individually then it be easier if I sort them. But how to compare the individual values. Are there any samples regarding the same.