Here is the code in question. I'm wondering that since they are references to the same objects, must I create a comparableTo method to differentiate? I am trying to do a selection sort and a bubble sort.
I am working on this project with a classmate and I decided to create an array of objects and he worked on an array of int's to sort. His worked, so I used his code for the sorting process.
Originally posted by Cindy Glass:
So you should end up with two separate arrays, unrelated to each other, but with references that are pointing at the same objects.
What are you using to do the sort?
[ April 22, 2002: Message edited by: Jim Yingst ]