TestThread.java
386 Bytes
package thread;
/**
* @ClassName TestThread
* @Author lidengwei
* @Description TODO
* @CreateTime 2022/10/18 17:07
*/
public class TestThread extends Thread{
@Override
public void run() {
try {
Thread.sleep(1000L);
} catch (InterruptedException e) {
e.printStackTrace();
}
System.out.println("Test thread");
}
}