DeAndrea said:
He told us to use the library so I'm assuming that I don't have to use
nodes.
The nodes would be internal to the JDK linked list implementation; if that's
what he said then you're cool.
There is an updated version of the program on the same link.
I'm still recieveing a few errors like:
cannot find symbol for equalsIgnoreCase
illegal start of expression
cannot find symbol for method set and curr
This I won't help with too much; in order to learn Java you should be
debugging these kinds of problems. I made mention of the incorrect methods
signatures problem earlier, and one of them was "equalsIgnoreCase". Learn to
use the Javadocs - those are your best friend. If you're in an IDE like
NetBeans or Eclipse or IntelliJ IDEA then you'll have Javadocs right at your
fingertips; for example, if a method name is selected in NetBeans a
Ctrl-Shift-Space (in Windows) will show you the correct way to use it.
As for "illegal start of expression", look at the line number of the
reported problem. This is often (not always) helpful. This error is often
caused by a typo, a stray or missing ';' or '}' kind of thing.
For "cannot find symbol", either the methods don't exist (remember in Java
case is significant) or they are not in scope.
AHS