public class De2 extends Thread { @Override public void run() { System.out.println("子线程的名字:"+Thread.currentThread().getName()+"优先级:"+Thread.currentThread().getPriority()); }}public class De2T { public static void main(Strin
多线程
2023-10-25
51 点赞
0 评论
77 浏览