Salesforce
PDII · Question #174
When should you use the "transient" property on variables?
The correct answer is B. Variables that you don't want transmitted as part of the view state. Static variables also don't get. See the full explanation below for the reasoning.
Question
When should you use the "transient" property on variables?
Options
- AVariables that you want transmitted as part of the view state. Static variables also don't get
- BVariables that you don't want transmitted as part of the view state. Static variables also don't get
- CStatic variables that you want transmitted as part of the view state to save space
- DLarge variables in order to save space
How the community answered
(32 responses)- A3% (1)
- B84% (27)
- C3% (1)
- D9% (3)
Community Discussion
No community discussion yet for this question.