java測試運行時間方法

long startTime=System.currentTimeMillis(); long endTime=System.currentTimeMillis(); //此方法能夠保存當前程序運行到當前位置所用的時間
相關文章
相關標籤/搜索