What information is actually passed into the program if I pass a file using the command line?
Would this be the file name, or would it be the contents of the file?
What information is actually passed into the program if I pass a file using the command line?
Would this be the file name, or would it be the contents of the file?
In Java, unlike in C/C++, the file name is not the first argument.
Only the arguments are in args[].