Which three changes should be made to adapt this class to be used safely by multiple threads?()https://assets.asklib.com/images/image2/2018080116512519885.jpg

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

时间:2022-09-23 05:25:39 所属题库:SCJP程序员认证考试题库

相似题目