單項選擇題

哪個關(guān)鍵字可以為對象加互斥鎖?()

A.transient
B.synchronized
C.serialize
D.dispatch group

微信掃碼免費搜題