Try compiling with the javac command using the -xlint option to get useful warning messages.
What controls the value of isNumber?
Type: Posts; User: Norm
Try compiling with the javac command using the -xlint option to get useful warning messages.
What controls the value of isNumber?
Have you fixed the problem? I don't see any comments in the last post.
I'm done for tonight. Back tomorrow.
Please edit your post and wrap your code with
<YOUR CODE HERE>
to get highlighting and preserve formatting.
Where controls the value of isNumber?
You need to use the javac command's -Xlint option for warnings. For example:
D:\Java\jdk1.7.0.7\bin\javac.exe -Xlint Salesperson.java
I have no idea how to tell an IDE how to use that javac...
I think if you were to use the -Xlint option to get the compiler's warning message, it would help you fix part of the problem.
The poorly positioned {}s make the code hard to read and understand,...
Did you see these from my last post:
Some of the usage of {}s is unusual and could be causing you problems. Proper formatting makes the code easier to read and understand.
You need to use the...
That's not quite what I think of an error message.
Can you post the console's contents from when the program is executed to show what you are talking about?
Some of the usage of {}s is...
Do you get an error message? Please copy the full text of the error message and paste it here.
Copy all of the console that shows what was printed and what the user entered.
On Windows: To copy...