MCQ
An attempt to convert string to a number type uses …………. Exception class.
  • A
    StringformatException      
  • B
    ArithmeticException 
  • NumberFormatException 
  • D
    ArrayIndexException

Answer

Correct option: C.
NumberFormatException 
(C) NumberFormatException

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