Solved

Which of the Following Statements About Exception Handling Is Correct

Question 31

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) The main method of a Java program will handle any error encountered in the program.
C) Statements that may cause an exception should be placed within a throws block.
D) Statements that may cause an exception should be placed within a try block.

Correct Answer:

verifed

Verified

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

Related Questions