Which two can support this design goal?

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)

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)

A.
Store the data in a local variable.

B.
Store the data in an instance variable.

C.
Store the data in the Httpsession object.

D.
Store the data in the sarvletContext object.

E.
Store the data in the ServletRequest object.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Allan Santos

Allan Santos

A and E

Neo

Neo

B is wrong beacuse instance variables can be changed by non syncronized instance methods.