Timer timer = new Timer();
timer.schedule(new TimerTask() {
public void run() {
System.out.println(“11232”);
}
}, 1000 , 2000);
Timer定时器
最新推荐文章于 2024-05-14 19:31:25 发布
Timer timer = new Timer();
timer.schedule(new TimerTask() {
public void run() {
System.out.println(“11232”);
}
}, 1000 , 2000);