1.Thread.sleep(5)
作用:程序休眠5s,可以让程序看起来执行很慢
2.join方法,让当前这个线程的方法先执行完

posted on 2024-12-14 19:55  乎乎&&  阅读(11)  评论(0)    收藏  举报