Multiple choice

In which of the following sections is a user-defined exception trapped?

  1. Declaration

  2. Execution

  3. Exception

  4. Header

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In PL/SQL block structure, user-defined exceptions are trapped and handled in the EXCEPTION section. The DECLARE section is for declarations, the EXECUTE section (between BEGIN and END) contains executable logic, and there is no 'Header' section in standard PL/SQL.