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?
Brinuz
10 months, 1 week agowjj
1 year agobriccoli11
11 months, 1 week agowjj
1 year agosemio
1 year, 3 months ago