MCQ
What is the use of throw keyword ?
  • A
    To move necessary statements 
  • To throw the objects of an exception
  • C
    To exit the program
  • D
    To take control of the program in the beginning

Answer

Correct option: B.
To throw the objects of an exception
(B) To throw the objects of an 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