Wednesday, July 13, 2011

Sorting java objects in an array (Java)?

I have an array with objects, which are called carRecords. They contain rank(int), country(String) and Ammount(int). how do i use bubble sort to arrange the carRecords in the array according to country?

No comments:

Post a Comment