Home > Java Programming > Exceptions > Questions and Answers
Q: |
System.out.print("Start "); try{ System.out.print("Hello world"); throw new FileNotFoundException(); } System.out.print(" Catch Here "); /* Line 7 */ catch(EOFException e){ System.out.print("End of file exception"); } catch(FileNotFoundException e){ System.out.print("File not found"); } and given that EOFException and FileNotFoundException are both subclasses ofIOException, and further assuming this block of code is placed into a class, which statement is most true concerning this code? | ||||||||||
|
Comment on this Question | |
Name: | |
|