複選題
242 
5e4e1a5255a49.jpg
Which three changes should be made to adapt this class to be used safely by multiple threads? (Choose three.)
(A) declare reset() using the synchronized keyword
(B) declare getName() using the synchronized keyword
(C) declare getCount() using the synchronized keyword
(D) declare the constructor using the synchronized keyword
(E) declare increment() using the synchronized keyword

答案:登入後查看
統計: A(15), B(7), C(12), D(6), E(12) #2195111