Question: 6. Complete the following program that used the FileReader and FileWriter to copy the contents of the file test. in to the file answer. out.

 6. Complete the following program that used the FileReader and FileWriter

6. Complete the following program that used the FileReader and FileWriter to copy the contents of the file "test. in" to the file "answer. out". \begin{tabular}{l} import java.io. ; \\ public class Copy ( \\ public static void main(string(] args) throws IOException i \\ File inputFile = new File ("test. in"); \\ File outputFile = new File ("answer. out"); \\ int c; \\ complete this part \\ \hline \end{tabular}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!