java方法延时执行

try{ Thread.currentThread().sleep(5*1000); System.out.println(DateUtil.getCurrentTime()); } catch(InterruptedException e) { }
相关文章
相关标签/搜索