CountDownLatch 去掉try catch版本 public static void main(String[] args) throws InterruptedException { /** * Thread-1 在路上耗时4秒 * Thread-2 在路上耗时0秒 * Thread-0 在路上耗时4秒 * Thread-2 到达车站了 * Thread-1 到达车站了 * Thread-0 到达车站了 * 老司机,发车 */ CountDownLatch countDownLatch = new CountDownLatch