This is where java sticks the array of arguments from the command line (if there is one)...
Example... If you have a program and to invoke it you call the following:
Java helloWorld -s -h -f:c:\test.txt
Arg would contain the following values:
Arg[0] = "-s"
Arg[1] = "-h"
Arg[2] = "-f:c:\test.txt"
This is primarily used for command-line applications.
Example... If you have a program and to invoke it you call the following:
Java helloWorld -s -h -f:c:\test.txt
Arg would contain the following values:
Arg[0] = "-s"
Arg[1] = "-h"
Arg[2] = "-f:c:\test.txt"
This is primarily used for command-line applications.