Salesforce
PDII · Question #34
PDII Question #34: Real Exam Question with Answer & Explanation
The correct answer is A. Use the Schema namespace.. See the full explanation below for the reasoning.
Question
What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?
Options
- AUse the Schema namespace.
- BUse a static resource.
- CPerform a callout to the Metadata API.
- DPerform a SOQL Query.
Community Discussion
No community discussion yet for this question.