摘要: JUC学习-12-线程合并 子线程执行join方法后,主线程会等待子线程执行完毕结束以后 再去继续执行主线程的代码 class JoinThread { static int value = 1; public static void main(String[] args) { Thread t = 阅读全文
posted @ 2025-07-08 10:00 skystrivegao 阅读(8) 评论(0) 推荐(0)