Solved

Which of the Following Statements Is False

Question 28

Multiple Choice

Which of the following statements is false


A) When the runtime or a method detects a problem, such as an invalid array index or an invalid method argument, it throws an exception-that is, an exception occurs.
B) Exceptions are always thrown by the runtime.
C) To handle an exception, place any code that might throw an exception in a try statement.
D) The try block contains the code that might throw an exception, and the catch block contains the code that handles the exception if one occurs.

Correct Answer:

verifed

Verified

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

Related Questions