Search:

Type: Posts; User: thebestpearl

Search: Search took 0.56 seconds.

  1. Re: NullPointerException ... and does it work?

    Thanks so much! I'm new to this, so I'm apologize for not having it in proper format.
    I declare both at the top, but I don't think I initialize either... and I think that linNumber is the same as...
  2. NullPointerException ... and does it work?

    I'm trying to write a code that will read in a keyword and files from the command line and search for that word in the specified files. I am not sure if it works, because I'm getting this exception...
  3. Replies
    5
    Views
    1,149

    Re: Sorting an array

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

    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[]...
  5. Replies
    5
    Views
    1,149

    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 5 of 5