Everyday in every way, we get a little better.
My Blog (Dutch) http://jarco.be -
"Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel."
Campbell Ritchie wrote:If you are getting an "unresolved compilation problem", that is because you are using Eclipse (beginners are probably better off without an IDE), and there is something you missed earlier. There should be a red mark against a line in your code: put your mouse in the red mark and see the message which appears.
My Blog (Dutch) http://jarco.be -
"Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel."
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Prime wrote:There is probably a typo in the book; the parameter is named pormpt where it should be prompt. Check if there is an errata list available.
My Blog (Dutch) http://jarco.be -
"Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel."
jarco voorhees wrote:
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Yannis Famelis wrote:First of all thank you all for your answers and Campbell Ritchie for your welcome. Jarco, glad you're in the same chapter. Maybe we can help each other but in the certain case you're getting a different error from me. The thing is that I copied and pasted the code from the book's examples folder and is giving me again these errors. Could you tell me how can I add a screenshot in my post to show you what I mean? I have paste the code in Notepad and compiled from the command prompt as the book suggests. Normally, I use NetBeans.
My Blog (Dutch) http://jarco.be -
"Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel."
Rob Prime wrote:
jarco voorhees wrote:
These two spellings are different. Either you mistyped it, or the book has it wrong. "prompt cannot be resolved to a variable" is not a compiler error you will see if prompt is spelled correctly.
My Blog (Dutch) http://jarco.be -
"Weaseling out of things is important to learn. It's what separates us from the animals... except the weasel."
jarco voorhees wrote:
Rob Prime wrote:
jarco voorhees wrote:
These two spellings are different. Either you mistyped it, or the book has it wrong. "prompt cannot be resolved to a variable" is not a compiler error you will see if prompt is spelled correctly.
oops. That is indeed my mistake. Thanks for the swift help.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|