Vidyalelo
Java Programming · Q45

Java Session Management and JSP

Programming · Java Programming · question 45

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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board