首页 试题详情
单选题

当使用SomeThread t=new SomeThread()创建一个线程时,下列叙述中正确的是:

ASomeThread类是包含run()方法的任意java类

BSomeThread类一定要实现Runnable接口

CSomeThread类是Thread类的子类

DSomeThread类是Thread类的子类并且要实现Runnable接口

正确答案:A (备注:此答案有误)

相似试题

  • 单选题

    使用SomeThread t=new SomeThread()创建一个线程时,下列叙述中正确的是:

    答案解析

热门题库