原创 Thread使用線程池

使用線程池,將實現Runnable接口類的對象作爲參數 Executors:線程池創建工廠類 public static ExecutorService newFixedThreadPool(int nThreads):返回線程池對象 E