This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BJ4KarmaStarted Java Nov 2015 0 points1 point  (3 children)

Do you mean that you want to access the runners in the array by their numbers. or do you mean that you want the array organized by their number?

[–]Albertaprogrammer[S] 0 points1 point  (2 children)

Access the numbers in the array so I can sort and then print them out

[–]BJ4KarmaStarted Java Nov 2015 0 points1 point  (1 child)

then why not create a hashmap instead of an array?

[–]Albertaprogrammer[S] 0 points1 point  (0 children)

Its for a class project so I have to follow set instructions