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

What are three techniques that a developer can use to invoke an anonymous block of code? (Choose three.)
A . Use the SOAP API to make a call to execute anonymous code.
B . Create a Visualforce page that uses a controller class that is declared without sharing.
C . Run code using the Anonymous Apex feature of the Developer’s ID
E . Type code into the Developer Console and execute it directly.
F . Create and execute a test method that does not specify a runAs() call.

Answer: A,C,D

Latest PDI Practice Questions with 191 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
1 Comment
MINKI
MINKI
4 years ago

A . Use the SOAP API to make a call to execute anonymous code.
C . Run code using the Anonymous Apex feature of the Developer’s IDE
E . Type code into the Developer Console and execute it directly.