單項選擇題

下列選項中哪項不是Java開發(fā)中創(chuàng)建線程的方式()。

A.繼承Thread類實現(xiàn)多線程
B.使用共享內(nèi)存
C.實現(xiàn)Runnable接口
D.實現(xiàn)Callable接口

微信掃碼免費搜題