In Java args contains the supplied command-line arguments as an array of String objects .
If you wanted to output the contents of args, you can just loop through them like this .
Example:
public class ArgumentExample
{
public static void main(String[] args)
{
for(int i = 0; i < args.length; i++)
{
System.out.println(args[i]);
}
}
}