Question 1 / 16
--:--
Question 1

A developer has an integer variable called maxAttempts. The developer needs to ensure
that once maxAttempts is initialized, it preserves its value for the length of the Apex
transaction; while being able to share the variable's state between trigger executions.
How should the developer declare maxAttempts to meet these requirements?


Correct Answer
Correct Answer:
You're on the free plan. Get Full Exam Access Unlock all questions, detailed explanations and more.
Get Premium →