A

Admin • 828.43K Points
Coach

Q. What happens if finally block has a return statement?

  • (A) It overrides previous return
  • (B) It is ignored
  • (C) It causes error
  • (D) It prints the return value

Explanation by: Admin
A return statement in finally overrides any return from try or catch.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.