Thursday, January 12, 2012

Whats wrong with this java code please help?

I think overall the logic is pretty solid. You have a few minor syntax errors (like adding "final" as a qualifier to String My_Name, a missing semicolon after the most_significant calculation, and maybe a few others that I missed). However, syntax errors are really no big deal -- if you try to compile the program, the compiler will whine at you if you have syntax errors, but the errors will usually point you to the problematic line and why it's not working (e.g. "expected semicolon after line XX" or something like that).

0 comments:

Post a Comment