• 2022-06-18
    下列说法中,错误的一项是( )。
    A: 可以通过继承Thread类来创建线程
    B: Thread类中没有定义run()方法
    C: 可以通过实现Runnable接口创建线程
    D: Runnable接口中定义了run()方法