oops, my bad. I've changed my post to remove the .class
Type: Posts; User: helloworld922
oops, my bad. I've changed my post to remove the .class
Are you sure you're passing the correct number of parameters to your program? The syntax for calling should be something like this:
java AddNum 1 2 3
edit: removed .class
Java array indices start at 0, not 1. Perhaps that's your problem?
Also, in the future please surround your code with highlight tags, I've modified your post this time to reflect that.