關於多線程中的面試題

關於多線程中的面試題 常見面試的 1.如今有T一、T二、T3三個線程,你怎樣保證T2在T1執行完後執行,T3在T2執行完後執行? 答:使用join就OK了。java public class ThreeThread { public static void main(String[] args) throws InterruptedException { OneThrea
相關文章
相關標籤/搜索