因此,比較好的方法是產生一堆threads,稱之為thread pool,讓這些開好 ... i<10; i++) { int fi = i; threadPool.execute(() -> { try { Thread.sleep(random.
確定! 回上一頁