• 2022-06-17
    下列哪个方法可用于创建一个可运行的类()
    A: public class X implements Runnable{public void run() {……}}
    B: public class X extends Thread{public void run() {……}}
    C: public class X extends Thread{public int run() {……}}
    D: public class X implements Runnable{protected void run() {……}}
  • 举一反三