long startTime=System.nanoTime(); //測試的動作long endTime=System.nanoTime(); System.out.println("執行時間: "+(endTime-startTime)+" NS "); ...
確定! 回上一頁