Java Exception MCQ - Quiz

  • A Either super or subclass can be caught first.
  • BThe superclass exception must be caught first.
  • CThe superclass exception cannot caught first.
  • DNone of these
  • AArrayIndexOutOfBoundsException is thrown
  • BExceptionInInitializerError is thrown
  • CIllegalStateException is thrown
  • DStackOverflowException is thrown