MCQ
Which of the following combination should be used to catch exceptions in a program?
  • A
    try, finally, catch
  • B
    catch, try
  • C
    finally, catch
  • try, catch, finally

Answer

Correct option: D.
try, catch, finally
try, catch, 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