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

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


您可能感興趣的試卷