Write a method that takes as a parameter the name of a


1. Write a method that takes as a parameter the name of a text file, reads the file and returns its content as string. What should the method do if and exception is thrown?

2. Write a method that takes as a parameter the name of a binary file, reads the content of the file and returns it as an array of bytes. Write a method that writes the file content to another file. Compare both files.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a method that takes as a parameter the name of a
Reference No:- TGS02140732

Expected delivery within 24 Hours