Sense of nested synchronized blocks in Java

前端 未结 0 686
情书的邮戳
情书的邮戳 2021-01-02 02:52

I have known recently there is a possibility in Java to make synchronized blocks nested, e.g.

class Example {

   private Object a = new Obje         


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