Hi, I have a doubt regarding Command Line Aurgments. I want to print the values which are givin througth the Commandline Aurgments EX:- Suppose i am giving the values from the promt as javatest abc dcb acb while giving the one value at prompt, when ever you press the 'sapce' the value should be visible on the screen.
The command line arguments are stored in the args array that is passed to the main method. They can be accessed like any other array. The program below just prints out all the arguments. Note that args is the first argument - the name of the program is not included.
But you are not getting my Question... First try to undarstand my point then reply according to that one.
when ever giving the command line aurgments, if i press "SPACE" between the values, the value should be apper in the out put taht time only . Mean ECHO. In 'C' or 'C++' we are using the getChar() some ting to get the output at the same time. suppose if u want to give more than one value from the dos prompt you have to give the 'SPACE' immediately the value should be apper in the propt.