| December 12, 2008 06:06:36 |
#1 |
| dugulam |
Member Since: April 2007 Total Comments: 1 |
RE: Supplying Arguments to Main Method |
public static void main(String args[])
This array of Strings is the mechanism through which the runtime system passes information to your application. Each String in the array is called a command line argument. Command line arguments let users affect the operation of the application without recompiling it. For example, a sorting program might allow the user to specify that the data be sorted in descending order with this command line argument: -descending
|
| |