問答題

【簡答題】建立線程有哪兩種方法?

答案: 一是繼承Thread類聲明Thread子類,用Thread子類創(chuàng)建線程對象。
二是在類中實現(xiàn)Runnable接...
微信掃碼免費搜題