If your strings are coming in separately, then you could simply use what you have, but print out a space between each word
System.out.print(args[i] + " ");
Type: Posts; User: helloworld922
If your strings are coming in separately, then you could simply use what you have, but print out a space between each word
System.out.print(args[i] + " ");
In passing them in, use double quotes to surround the arguments to denote that it is one string:
REM from command prompt
javac helloworld.class "Shook Ones"