A

Admin • 828.43K Points
Coach

Q. What is the correct way to declare a method that throws multiple exceptions?

  • (A) throws IOException, SQLException
  • (B) throw IOException, SQLException
  • (C) throws (IOException, SQLException)
  • (D) throws: IOException SQLException

Explanation by: Admin
Use comma-separated list in the `throws` clause.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.