Q45
What will be the output of the following Java code snippet? try (InputStream is = ...) // do stuff with is... catch (IOException e) // handle exception
A.
Runtime Error
B.
IOException
C.
Compilation Error
D.
Runs successfully
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board