MCQ
Which block do we use when we want to be sure that some particular code is to be run, no matter what exceptions are thrown within the associated try block?
  • finally
  • B
    throws
  • C
    throw
  • D
    catch

Answer

Correct option: A.
finally
finally

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free