用synchronized同步increment()方法,修改为publicsynchronizedvoidincrement(){…};用synchronized同步代码块,修改为synchronized(this){count=count+;}

  尔雅 智慧树 mooc


+
账户
更新
搜索
帮助
主页