沃孜教育

导航

Java_延迟操作

1、 用Thread就不会iu无法终止 new Thread(new Runnable() { public void run() { while (true) { test(); try { Thread.sleep(500); } catch (InterruptedException e) {

posted on 2018-08-15 19:54  沃孜教育  阅读(325)  评论(0编辑  收藏  举报