当前位置: 技术问答>java相关
SCJP模拟题 about modifier
来源: 互联网 发布时间:2015-03-27
本文导语: Which modifier should be applied to amethod for the lock of the object this to be obtained prior to executing any of the mothod body? A. final B. static C. abstract D. protected E. synchronized Answer: ????? | synchr...
Which modifier should be applied to amethod for the lock of the object this to be obtained prior to executing any of the mothod body?
A. final
B. static
C. abstract
D. protected
E. synchronized
Answer: ?????
A. final
B. static
C. abstract
D. protected
E. synchronized
Answer: ?????
|
synchronized
|
answer is B
|
答案是b么?
|
B and E