168k views
5 votes
In Java please.

Complete the class code below and using only the main method, add code to make an EXACT COPY of the input file to an output file named copyOf_. For example, if we input the file named story.txt, our class will make an exact copy of the file, but save it under the name copyOf_story.txt.
public class CopyFile {
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
System.out.println("Enter name of the file to copy\\FileName --> ");
// Your code here
}
} // end of CopyFile class

1 Answer

4 votes

Step-by-step explanation:

la verdad es que java es muy estrcita deves entrar al link java y descaragrla de nuevo luego haces eso otra vez y te funcionara

User AndyN
by
5.3k points