多項(xiàng)選擇題

能夠?qū)崿F(xiàn)線程的方式有()。

A.繼承Thread類,重寫run方法
B.實(shí)現(xiàn)Runnable接口,實(shí)現(xiàn)run方法
C.繼承Thread類,重寫start方法
D.繼承Runnable接口,重寫run方法

在線練習(xí)
微信掃碼免費(fèi)搜題