posted 11 years ago
Hey all,
so I am working on my first program using try catch exceptions, and here's my problem:
The compiler is giving me an error that says the catch block is unreachable. Not sure I understand why, because if a file isn't found, wouldn't the exception be thrown? Thanks in advance for any help you can offer! I did import the java.io.FileNotFoundException and
java.io.IOException if that helps....