R

Ranjeet • 34.60K Points
Instructor I

Q. 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
  • (D) It contains the code that might throw an exception
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics