• 2022-06-11
    下面()是使用Application对象时防止竞争的代码?Application. ; //锁定Application对象Application[“counter”]=(int) Application[“counter”]+1;Application. ; //解除对Application对象的锁定
    A: lock unlock
    B: Lock UnLock
    C: Lock() UnLock()
    D: UnLock() Lock()