posted 15 years ago
it is not impossible. people write and run java programs every day.
Does your code compile? what is the EXACT output when you type
javac <YourClassName>.java
There are dozens of reasons why this may not work, but nobody can help you unless you tell us the problem. There may not even BE a problem here - it may be when you try an run the code. In either case, the info it prints is critical in solving the issue.
If you expect someone to help you SOLVE the problem, you have to tell us what the problem IS.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors