單項(xiàng)選擇題

Java中可以用兩種方法來創(chuàng)建線程,一種是繼承Thread類,另一種是實(shí)現(xiàn)()接口。

A、Throws
B、Runnable
C、Component
D、Container

微信掃碼免費(fèi)搜題