Search:

Type: Posts; User: thebestpearl

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    2,313

    Re: Sorting an array

    One other question - is there a way to copy the contents of an array list into an array?
  2. Replies
    5
    Views
    2,313

    Re: Sorting an array

    Thanks - the problem is, when I do courseListing.sort() it says I ca't invoke sort() on the array type course[]...
  3. Replies
    5
    Views
    2,313

    Sorting an array

    I created an object called "Course" which has 4 instance variables - class code, instructor, title, and points. In the course class, I also have a compareTo method which compares the class code.
    ...
Results 1 to 3 of 3