In your main method, you have to either throw the Exception or put your I/O statements in a try/catch block. Try looking here to figure out how to do it. Catching and Handling Exceptions (The Java™...
Type: Posts; User: kc120us
In your main method, you have to either throw the Exception or put your I/O statements in a try/catch block. Try looking here to figure out how to do it. Catching and Handling Exceptions (The Java™...
You have to handle the exception. That is what the compiler is complaining about