Solved

Which of the Following Code Snippets About Exceptions Is Correct

Question 37

Multiple Choice

Which of the following code snippets about exceptions is correct?


A) public void read(String filename) throws IOException, ClassNotFoundException
B) public void read(String filename) throw IOException, ClassNotFoundException
C) public void read(String filename) throw (IOException, ClassNotFoundException)
D) public void read(String filename) throws IOException, throws ClassNotFoundException

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions