nerdexam
Zend

200-710 · Question #137

Which of the following statements about exceptions is correct? (Choose 2)

The correct answer is A. you can only throw classes derived from Exception B. a try block can have multiple catch blocks. See the full explanation below for the reasoning.

Question

Which of the following statements about exceptions is correct? (Choose 2)

Options

  • Ayou can only throw classes derived from Exception
  • Ba try block can have multiple catch blocks
  • Ca try block must not be followed by a catch block
  • Dtry blocks cannot contain nested try blocks

How the community answered

(53 responses)
  • A
    81% (43)
  • C
    11% (6)
  • D
    8% (4)

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice