Write a Java program which reads a text file and writes thecontent into a new file. During the read-write process, convert allthe upper case letters into lower case ones. In other words, yourprogramming task is to create a new file with the same content ofthe original file, only that all the upper case letters areconverted into lower case ones in the new file.
Create your own text file to test your program. You will needto submit both the Java file and BOTH THE INPUT AND OUTPUT filesduring submission.
Answer
Please find the code below:::
package classes14;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.Scanner;
public class CopyFile
OR
OR