MCQ
What will happen when a try block does not generate an Exception and you have included multiple catch blocks ?
  • A
    They all execute
  • B
    Only the first matching one executes 
  • No catch block executes   
  • D
    Only the first catch block executes        

Answer

Correct option: C.
No catch block executes   
(C) No catch block executes

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