Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sorting arrays without the Arrays.sort

807605Jul 18 2007 — edited Jul 19 2007
I need to create a program which has two integer arrays, one with 12 integers, the other with 17. I then need to send these two arrays into a new method and return another array made up of the two original ones. This new array must be in numerical order but I'm not allowed to call sort on this array. Is there a way to do this without having to use conditionals to test each of the 29 integers?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2007
Added on Jul 18 2007
6 comments
168 views