首页 › 答案 › 题库 › 远程教育 › 青书学堂

以下哪个关键字可以用来对对象加互斥锁?()

以下哪个关键字可以用来对对象加互斥锁?()
A.transient
B.synchronized
C.serialize
D.static
正确答案:B
标签:关键字 对象