Which statements are true about the WHEN OTHERS exception handler? (Choose all that apply)
A. It can be the first exception handler.
B. It can be the only exception handler for the code.
C. It traps all the exceptions that are not already trapped.
D. You can have multiple OTHERS clauses to trap all the multiple unhandled exceptions.
If B is true, then A should be true too. Is not it?
(A.) says first exception handler implies there are more than one exception handlers. And if that is the case When Others need to be the last handler otherwise it throws error.
Confirming correct answers are B,C and giving additional reference:
https://docs.oracle.com/cd/A97630_01/appdev.920/a96624/07_errs.htm#725
“The optional OTHERS exception handler, which is always the last handler in a block or subprogram, acts as the handler for all exceptions not named specifically.”