MCQ
Object which is thrown using throws keyword must be of ……… type.
  • java.lang.throwable 
  • B
    java.lang.string 
  • C
    java.lang.scanner 
  • D
    Java.lang.throw

Answer

Correct option: A.
java.lang.throwable 
(A) java.lang.throwable

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