Exam4Training

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

Which of the following statements about exceptions is correct? (Choose 2)
A . you can only throw classes derived from Exception
B . a try block can have multiple catch blocks
C . a try block must not be followed by a catch block
D . try blocks cannot contain nested try blocks

Answer: A, B

Exit mobile version