Ok, if you've solved the problem, mark this thread as solved.
Type: Posts; User: Norm
Ok, if you've solved the problem, mark this thread as solved.
That is not a compiler error. It's from when the program is executed.
What is the input you are passing to the program via the Scanner class's constructor?
Does it match what you type in when...
Please copy the full text of the compiler error message and paste it here.
I need the input to test the program. Here's what I get when I execute it:
If all that has to be entered to test the program, it is way too much.
The Scanner class has a constructor that takes a String. Can you code the String in the Scanner's constructor with all the...
That makes sense. How can an object of type: Project2.ListNode be cast to a String at line on line 87?
What input does the program need to execute and get the error?