下列()关键字通常用来给对象进行加锁,该标记使得对对象的访问是排他的。
A.transient
B.serialize
C.synchronized
D.static
正确答案:C
相关答案
热门答案