java基礎學習之多線程

public void run() { while(true) { try { Thread.sleep(1000); } catch (InterruptedException e) { // TODO 自動生成的 catch 塊 e.printStackTrace(); } res+=(++times); System.out.p
相關文章
相關標籤/搜索