What is getValue() defined to return?
Can you post a small complete program that generates the compiler error?
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
When you created the instances of Node that currentNode refers to, what did you have in the <>
How is curentNode defined?
JamesCherrill
... trying to help
8,514 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,455
Skill Endorsements: 30
... and what exactly is the compiler error!
JamesCherrill
... trying to help
8,514 posts since Apr 2008
Reputation Points: 2,583
Solved Threads: 1,455
Skill Endorsements: 30
Please post a COMPLETE program that shows the error message when you try to compile it.
Bits and pieces of code don't compile.
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
The posted code generates 10 errors when I try to compile it. Is that what you get?
One thing I notice is missing import statements, missing class definitions and missing methods.
Can you fix the code so it only generates the error you are asking about.
NormR1
Posting Sage
7,742 posts since Jun 2010
Reputation Points: 1,158
Solved Threads: 793
Skill Endorsements: 16
Question Answered as of 8 Months Ago by
NormR1
and
JamesCherrill