240 发简信
IP属地:江苏
  • LOCK--交替打印奇偶数

    两个线程交替打印奇偶数 public class TwoThreadLock { static Locklock =new ReentrantL...

  • synchronized--交替打印

    public class TwoThreadSynchronized { private int start =1; private b...