Solved

Which of the Following Statements About Exception Handling Is Correct

Question 9

Multiple Choice

Which of the following statements about exception handling is correct?


A) Statements that may cause an exception should be placed within a catch block.
B) Statements that may cause an exception should be placed within a try block.
C) The main method of a Java program will handle any error encountered in the program.
D) Statements that may cause an exception should be placed within a throws block.

Correct Answer:

verifed

Verified

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

Related Questions