So for an project, we need to have the program accept the file name to be read in from command line arguments of main method. That is, your program should be executable from the command line by calling:
~>java Project inputFile.txt
Which will output the modified contents of the file to the standard output.
But I am clueless on how to do this.
PS: We've covered how to use the command line arguments but not how to have a file read from this location. Any suggestions?