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...
Type: Posts; User: thebestpearl
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...
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...
One other question - is there a way to copy the contents of an array list into an array?
Thanks - the problem is, when I do courseListing.sort() it says I ca't invoke sort() on the array type course[]...
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.
...