Q34
Which one of the following keyword is used in conjunction with an Exception object?
A.
throws
B.
exception
C.
throw
AnswerD.
final
Answer: Option C
Solution
Answer: Option C
Solution:
The throw keyword is used in conjunction with an Exception object. It halts execution of the current method and passes responsibility for handling the error back to the calling code.