Java Thread : object has both synchronized and not synchronized methods

后端 未结 0 1073
借酒劲吻你
借酒劲吻你 2020-12-28 23:55

suppose there are 2 threads used in this demo.Suppose increment() code block executes first and acquires the monitor on the current object.does other thread wi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题