代码如下:
class A
{
   public static void main(String[] args)
  {
    ........
    
    new Thread()
    { 
       this.setDaemon(true);
       this.start();
   
    }
  .........
  }
}
创建一个线程不是从Thread类继承或实现接口吗,为什么这里创一个线程会用
  new Thread()
    { 
       this.setDaemon(true);
       this.start();
   
    }
这是为什么啊?有什么好处吗?