Finally block is attached to?

20. Finally block is attached to?

  1. Try-catch block
  2. Class block
  3. Method block
  4. All of these

Answer: A) Try-catch block

Explanation:

Finally, block of code runs at the end of the try-catch block.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.