Salesforce Platform Developer I (legacy) — Question 67

What are three techniques that a developer can use to invoke an anonymous block of code? (Choose three.)

Answer options

Correct answer: A, C, D

Explanation

The correct answers are A, C, and D because these methods directly allow the execution of anonymous blocks of code. Option B does not directly execute anonymous code, and option E refers to test methods which do not invoke anonymous execution.