java方法延時執行

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