Logic errors would show up if you did some through testing of the code.
Type: Posts; User: Norm
Logic errors would show up if you did some through testing of the code.
That message is not associated with any source line. I don't know where it comes from. See the example in post#20 from the javac command. It has the source line number and contents.
Please copy the full text of the error message and paste it here. It has important info about the error.
The error message doesn't have the line number with them so its sort of floating around not connected to anything. Can you use the javac compiler to get some better error messages?
The message...
Can you post the new code and the full text of the compiler's error messages?
Where in the class: Player is the method: pmenu(String) defined?
I see a method with the same name defined in another class: Roleplaygame2
The compiler can not find a definition for the method or variable in the error message. Check the spelling and the scope of the method's and variable's definition.
The formatting of the code makes it hard to see the nesting. There should not be two }s one above the other.
It looks like there is a nested, inner class with a static method: main() which is not...