A developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in a thread-safe manner. Which two can support this design goal?()
- A、 Store the data in a vocal 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.
正确答案:A,E
答案解析:有
微信扫一扫手机做题