Originally Posted by Firestar912
Why would you say that? Have you tested it?
Bottom line: The code works just fine after the spelling typo on line 6 was corrected. The program compiles and executes perfectly on my systems if it is stored in a file named HelloApp.java. (I use command line javac and java.)
I didn't respond further to the Original Poster because I don't know how he is compiling it (IDE or whatever) so I can't offer additional help, and don't see any value in my trying to guess...