Ron confirmed that program runs without errors, I tried also, it runs just fine. Please tell us exactly what kind of error you're getting? There are more problems in your code, but those should not be crucial at the moment. Later on it would require to be fixed, i have in mind your program structure, identation, methods naming, class naming, and some other tinny ones.
It sounds like there is an error or errors in another Java files in that project. Check all the other files for errors. If you're on Eclipse, there will be a red star shape on the files in the Project Explorer that have errors.
All things are lawful, but not all things are profitable.
And those discussions probably suggests that OP is not ready for the Silicon Valley like technologies (IDE). Decent text editor and command line compiler would be the way to go probably, so such a errors wouldn't appear anymore.
mitchell cooper, luckily CodeRanch got FAQ (<- link to click on) for that.
Just let me do the talking. Ahem ... so ... you see ... we have this tiny ad...