synchronized(obj1)//------------这里也是需要呢?
                  //------------
只要是synchronized就是要同步
{
if (obj1 == null)
  System.out.println("****");
}