Which three statements are true regarding custom exceptions in Apex? (Choose three.)
Which three statements are true regarding custom exceptions in Apex? (Choose three.)
A . A custom exception class must extend the system Exception class.
B . A custom exception class can implement one or many interfaces.
C . A custom exception class cannot contain member variables or methods.
D . A custom exception class name must end with “Exception”.
E . A custom exception class can extend other classes besides the Exception class.
Answer: B,D,E
Latest PDI Practice Questions with 191 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
A B D will be the correct answer.
Hi Sanket, are you sure about those options? I’m preparing my certification. thanks in advance!