Q5
What is the purpose of the "catch" block in exception handling?
A.
It specifies the exception message
B.
It specifies the exception type
C.
It catches exceptions and handles them
AnswerD.
It contains the code that might throw an exception
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board