Hello everyone! I am new to this forum but have been searching around on here for awhile now.
I already have this program completed, I think, but I my professor wants me to create a tester and a class. I only have the one program.
The assignment reads:
The class's constructor should accept twp file names as arguments. The first file should be opened for reading and the second file should be opened for writing. The class should read the contents of the first file, change all characters to uppercase, and store the results in the second file. The second file will be a copy of the first file, except all the characters will be in uppercase.
And here is my code:
If someone is able to help me with splitting this program up into a tester (demo), and a class that would be awesome! Also I receive an error as well: "The method readLine(boolean) in the type BufferedReader is not applicable for the arguments (String)"
Thanks again!
I already have this program completed, I think, but I my professor wants me to create a tester and a class. I only have the one program.
The assignment reads:
The class's constructor should accept twp file names as arguments. The first file should be opened for reading and the second file should be opened for writing. The class should read the contents of the first file, change all characters to uppercase, and store the results in the second file. The second file will be a copy of the first file, except all the characters will be in uppercase.
And here is my code:
If someone is able to help me with splitting this program up into a tester (demo), and a class that would be awesome! Also I receive an error as well: "The method readLine(boolean) in the type BufferedReader is not applicable for the arguments (String)"
Thanks again!