1.

Which four can be thrown using the throw statement?

  1. Error
  2. Event
  3. Object
  4. Throwable
  5. Exception
  6. RuntimeException

A. 1, 2, 3 and 4
B. 2, 3, 4 and 5
C. 1, 4, 5 and 6
D. 2, 4, 5 and 6
Answer» D. 2, 4, 5 and 6


Discussion

No Comment Found

Related MCQs