package com.shrimpking.t8;
/**
* Created by IntelliJ IDEA.
*
* @Author : Shrimpking
* @create 2024/10/1 17:38
*/
public class SimpleMultThread9_1 extends Thread
{
@Override
public void run()
{
for (int i = 0; i < 6; i++)
{
System.out.println(i);
try
{
Thread.sleep(1000);
}catch (InterruptedException e){
e.printStackTrace();
}
}
}
public static void main(String[] args)
{
SimpleMultThread9_1 smt = new SimpleMultThread9_1();
smt.start();
}
}
SimpleMultThread9_1
最新推荐文章于 2025-01-16 23:49:26 发布
285

被折叠的 条评论
为什么被折叠?



