Salesforce Certified Platform Developer II — Question 101
Which of the following variables are not transmitted in the view state? (Choose two.)
Answer options
- A. Private
- B. Transient
- C. Public
- D. Static
Correct answer: B, D
Explanation
The correct options are B and D because transient and static variables are not included in the view state as they do not maintain their values between postbacks. In contrast, private and public variables can be serialized and are included in the view state.