多項選擇題

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

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

微信掃碼免費搜題