摘要:
package day01; public class VIPThread implements Runnable{ @Override public void run() { for(int i = 0;i<10;i++) { String name = Thread.currentThread().getName(); ... 阅读全文
posted @ 2019-08-05 14:50
HxTZzz
阅读(105)
评论(0)
推荐(0)
摘要:
package Zuoye; public class User implements Runnable{ private int time; private int num = 10; public User (int time) { this.time= time; } @Override public void run()... 阅读全文
posted @ 2019-08-05 14:48
HxTZzz
阅读(123)
评论(0)
推荐(0)
摘要:
package day01; public class MyThread extends Thread{ public void run() { for(int i =0;i<20;i++) { Thread t = Thread.currentThread(); t.setName("Thread-0"); ... 阅读全文
posted @ 2019-08-05 14:29
HxTZzz
阅读(94)
评论(0)
推荐(0)

浙公网安备 33010602011771号