多选题A developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in athread-safe manner. Which two can support this design goal?()AStore the data in a local variable.BStore the data in an instance variable.CStore the data i

题目
多选题
A developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in athread-safe manner. Which two can support this design goal?()
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 ServletContext object.

E

Store the data in the ServletRequest object.

参考答案和解析
正确答案: C,D
解析: 暂无解析
更多“多选题A developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in athread-safe manner. Which two can support this design goal?()AStore the data in a local variable.BStore the data in an instance variable.CStore the data i”相关问题