Which of these exception is thrown in cases when the file specified for writing it not found?
A. IOException
B. FileException
C. FileNotFoundException
D. FileInputException
Answer:A
Which of these exception is thrown in cases when the file specified for writing it not found?
A. IOException B. FileException C. FileNotFoundException D. FileInputException
Explanation: In cases when the file specified is not found, then FileNotFoundException is thrown by java run-time system, earlier versions of java used to throw IOException but after Java 2.0 they throw FileNotFoundException.