MCQ
Which of the following should be within a catch block?
  • any number of statements to handle Exception
  • B
    single statement that handles Exception
  • C
    finally, block
  • D
    throws keyword

Answer

Correct option: A.
any number of statements to handle Exception
any number of statements to handle Exception

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