Type: Posts; User: Norm
Search took 0.15 seconds.
February 27th, 2015, 09:09 AM
Please copy the full text of the error message and paste it here. It has important info about the error.
A method can not be defined inside of another method.
February 25th, 2015, 07:47 AM
The code defines the inner class incorrectly.
Either make it static or move it to be an external class.
Or move the main() method to be in the DungeonGame class and get rid of the DungeonTest...
February 15th, 2015, 10:28 AM
make the inner class static to access it from the static main() method.
February 11th, 2015, 09:21 AM
How are you debugging the code?
One technique would be to have println() statements that print out the values of variables as the code executes to show you what the computer is doing when it...
January 18th, 2015, 06:44 PM
Take a look at the API doc for the String class's various replace() methods. There isn't one that takes a char and String.
Find one that you can use to do the replacement you want and call it with...
January 18th, 2015, 07:11 AM
Also please post the full text of the error message.
January 12th, 2015, 10:50 AM
What does that mean?
There are two values on that line to test for null: element and the value returned by getClass()
Print each of them separately.
January 12th, 2015, 10:02 AM
There is a variable on line 8 that has a null value when that statement is executed. Look at that line, find the variable with the null value and then backtrack in the code to see why it does not...
January 12th, 2015, 07:04 AM
The posted code does not compile without errors. Fix the compiler errors before trying to execute the code.
January 3rd, 2015, 01:21 PM
Please edit your post and wrap the code in code tags.
Where is the code for the Game of Life program?
January 3rd, 2015, 01:19 PM
Have you set the right permissions in the Manifest file?
December 20th, 2014, 07:34 AM
Also posted at: http://www.javaprogrammingforums.com/whats-wrong-my-code/42116-couting-multidimensional-array-java.html
December 4th, 2014, 06:09 PM
Also posted at: http://www.javaprogrammingforums.com/whats-wrong-my-code/41727-how-can-i-convert-zipentry-type-file-type.html
November 21st, 2014, 09:56 AM
Also posted at: http://www.java-forums.org/new-java/93569-questions-about-my-code-junit-test.html
November 11th, 2014, 11:06 AM
This part does not look like java:
var POCO = ..
November 11th, 2014, 10:09 AM
Please edit your post and wrap the code in code tags to make it easier to read.
November 11th, 2014, 10:08 AM
November 3rd, 2014, 11:10 AM
Can you explain the code's logic?
On What statement does the exception happen? What are the values of the variables used to compute the index?
November 1st, 2014, 06:48 AM
Also posted at: http://www.javaprogrammingforums.com/whats-wrong-my-code/40705-help-doesnt-run-even-though-should.html
October 29th, 2014, 08:32 AM
How does the API doc describe the args to the parse() method? Are you calling it correctly?
Also posted at:...
October 27th, 2014, 07:58 AM
That's really strange that the parse() method would change the file path it received. Can you debug the parse() method to see why it does that?
October 23rd, 2014, 07:20 AM
What questions do you have about the rest of the problems?
Please edit the post and wrap the code in code tags.
October 22nd, 2014, 08:08 AM
Whoops, that doesn't look like java.
October 21st, 2014, 06:32 PM
Do you have some code you are working with?
Be sure to wrap any posted code in code tags.
October 21st, 2014, 07:08 AM
The code has lost all its indentations. Everything is in column one. Nested statements should be indented.
Please edit the code and fix it.
Add a counter to count the number of uppercase...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.