试题详情
多项选择题Which two can be used to create a new Thread?()   

A、 Extend java.lang.Thread and override the run method.

B、 Extend java.lang.Runnable and override the start method.

C、 Implement java.lang.thread and implement the run method.

D、 Implement java.lang.Runnable and implement the run method.

E、 Implement java.lang.Thread and implement the start method.

  • A,D
  • 关注下方微信公众号,在线模考后查看

热门试题