int array1[] = previouslyDefinedArray;
Arrays.sort(array1);
is this suppose to make changes also in previouslyDefinedArray? somehow it does in my project..
i want previouslyDefinedArray to be unchanged bet somehow after sorting array1 previouslyDefinedArray is also sorted. where am I wrong?