Define a static method that makes a copy of a text file. The method should accept as an argument the name of the original file. The name of the copy should be “copyOf ” followed by the name of the original file. The client of your method should use the class File to ensure that the original file exists and can be read before calling the method.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here