Thread匿名线程的建立

new Thread( ) {

  public void run( ) {

    重写run方法

  }

}.start( ); 

posted @ 2022-11-07 21:54  平凡的柳先生  阅读(64)  评论(0)    收藏  举报