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

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


您可能感興趣的試卷