A

Admin • 830.13K Points
Coach

Q. What does multi-catch block allow in Java 7+?

  • (A) Catching multiple unrelated exceptions
  • (B) Catching only one exception
  • (C) Throwing multiple exceptions
  • (D) Creating new exception types

Explanation by: Admin
Multi-catch allows catching multiple unrelated exceptions in one block using the pipe `|`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.