If you are running your main class (having main method) in console, for passing command line arguments, you could have done the following way:
java HelloWorld arg1 arg2
But many beginners find it difficult to pass as many arguments they wish if they are working on an IDE like Eclipse. So here are some simple steps to configure permanently for specific programs so that whenever they are run, automatically the programmer is asked for arguments.