Regardless of what I input in the parameter for this, nothing changes??
It’s because the filename
argument is not used anywhere in the ReadNumberFile(String filename)
method..
As it seems, this parameter (filename
) represents the name (or maybe the fully-qualified path) of a file that should be read. If that’s the case, you should change this line to:
r = new BufferedReader(new FileReader(filename));
0
solved What is this parameter used for?