Now open Mozilla and go to the CPSC170 home page at http://cs.roanoke.edu/CPSC170A. Bookmark this page, then follow the link for lab0 to open this document in the browser.
Open emacs.
java myProg
Alternatively, we can specify a series (an array) of parameters:
java myProg foo test something
In this case, "foo" "test" and "something" are passed into the program as command line arguments. They are automatically stored in the array of Strings called args. So:
args[0] = "foo"
args[1] = "test"
args[2] = "something"
Modify your code so that you can pass in the name of the data file you wish to read as a command line argument.