单项选择题

Java中可以用两种方法来创建线程,一种是继承Thread类,另一种是实现()接口。

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