Type: Logic
Screenshots: 1
Description:
Another testament to my well-thought out, meticulous work habits, I managed to switch two variables, creating a completely wrong answer. By looking through my input section (that I reasoned was most logical location for the error to be), I found that I had intMax inputted with the intIncr prompt line. By switching them to the correct order, the error disappeared.
Monday, September 25, 2006
Monday, September 18, 2006
Error 2: ";" expected
Type: Syntax
Screenshots: 1
Description:
Forgetting about JCreator's automatic bracket closing feature, I placed one too many close brackets in my program. This error was detected by the Java Compiler as I attempted to compile and run the program.
This error was quickly fixed by removing the excess bracket.
Screenshots: 1
Description:
Forgetting about JCreator's automatic bracket closing feature, I placed one too many close brackets in my program. This error was detected by the Java Compiler as I attempted to compile and run the program.
This error was quickly fixed by removing the excess bracket.
Error 1: "identifier" expected
Type: Syntax
Screenshot: 1
Description:
In my haste while working to complete my payroll program, I managed to overlook actually naming the class to declare. I used the usual class declaration method (public class) but did not name the class afterwards. This error was detected by the java compiler when I attempted to compile and run the program.
This problem was solved by merely giving the class a name (Payroll).
Screenshot: 1
Description:
In my haste while working to complete my payroll program, I managed to overlook actually naming the class to declare. I used the usual class declaration method (public class) but did not name the class afterwards. This error was detected by the java compiler when I attempted to compile and run the program.
This problem was solved by merely giving the class a name (Payroll).
Subscribe to:
Posts (Atom)