多做题,通过考试没问题!

Oracle认证考试

睦霖题库>其他计算机考试>Oracle认证考试

Given: Which three changes should be made to adapt this class to be used safely by multiple threads?()

  • 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,C,E
答案解析:
进入题库查看解析

微信扫一扫手机做题