问题 多项选择题

可用于定义新线程类的方法有()。

A、implement the Runnable interface

B、add a run()method in the class

C、create an instance of Thread

D、extend the Thread class

答案

参考答案:A, D

解答题
单项选择题