A

Admin • 830.13K Points
Coach

Q. Which method is required when you override a method that throws a checked exception?

  • (A) Must declare the same exception or subclass
  • (B) Must declare any exception
  • (C) Can declare nothing
  • (D) Can throw Error only

Explanation by: Admin
When overriding, you can only throw the same checked exception or its subclass.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.