單項(xiàng)選擇題

以下哪個(gè)關(guān)鍵字可以用來為對(duì)象加互斥鎖?()

A.transient
B.static
C.serialize
D.synchronized

微信掃碼免費(fèi)搜題