File Exceptions
Write a program that reads an array of String from a fi le. The class should have a method
which reads from the file, and catches in order: File Not Found Exception (handled by printing “Error—fi le not found”), EOF Exception (handled by printing “Done reading file”), and IO Exception (handled by printing “Problem reading file” = e. get message).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here