Oracle
1Z0-899 · Question #7
A developer chooses to avoid using singieThreadModel but wants to ensure that data If; updated in a thread safe manner. Which two can support this design goal? (Choose two)
The correct answer is A. Store the data in a local variable. E. Store the data in the ServletRequest object. See the full explanation below for the reasoning.
Question
A developer chooses to avoid using singieThreadModel but wants to ensure that data If; updated in a thread safe manner. Which two can support this design goal? (Choose two)
Options
- AStore the data in a local variable.
- BStore the data in an instance variable.
- CStore the data in the Httpsession object.
- DStore the data in the sarvletContext object.
- EStore the data in the ServletRequest object.
How the community answered
(25 responses)- A76% (19)
- B8% (2)
- C4% (1)
- D12% (3)
Community Discussion
No community discussion yet for this question.