MCQ
Which approaches are there to handle exceptions created by a method?
  • $a$ Or $b$
  • B
    Invoking a method or constructor within a try block.
  • C
    Write a try $-$ catch block within the method or a constructor.
  • D
    None of these

Answer

Correct option: A.
$a$ Or $b$
$a$ Or $b$

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