N

Neelam Mittal • 4.57K Points
Extraordinary

Q. What is the purpose of the "throw" keyword in Java exception handling?

  • (A) To explicitly throw an exception
  • (B) To catch exceptions
  • (C) To specify exception types
  • (D) To declare a method as "throws"
  • Correct Answer - Option(A)
  • Views: 14
  • 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