1.

What is the output of below snippet?
try (InputStream is = ...) 
{
// do stuff with is...
}
catch (IOException e)
{
// handle exception
}

A. Runs successfully
B. Compilation Error
C. IOException
D. Runtime Error
E. None of these
Answer» B. Compilation Error


Discussion

No Comment Found

Related MCQs