Solved

What Is the Purpose of the Throw Statement

Question 10

Multiple Choice

What is the purpose of the throw statement?


A) It is used to pass arguments to another method.
B) It is used to detect an error situation.
C) It is used to pass control to an error handler when an error situation is detected.
D) It is used to discard erroneous input.

Correct Answer:

verifed

Verified

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

Related Questions