Java Reference
In-Depth Information
Notice that the first argument is stored at index 0, the second argument is stored at index 1,
and so on.
To get a taste of the way command-line arguments can be used, consider the next pro-
gram. It takes one command-line argument that specifies a person's name. It then searches
through a two-dimensional array of strings for that name. If it finds a match, it displays that
person's telephone number.
Here is a sample run:
The Bitwise Operators
Search WWH ::




Custom Search