Skip to Main Content

New to Java

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 an array integer by integer.

807599Nov 24 2006 — edited Nov 25 2006
Hey guys! Well I'm doing a program in my class where I have a set of integers where I have to sort them integer by integer. For example, my input is (123, 124, 56,90,9), I have to sort them in such a way where the output will be 99056124123. I had been looking in the sort class but I didn't find any method that would do the job for me. Futhermore, I tried converting the integers to string and using charAt() but it gets too complicate... I would appreciate any help from you guys! Thx.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2006
Added on Nov 24 2006
38 comments
805 views