long start,end; start = System.currentTimeMillis(); for (int i = 0; i < 2000000000; i++) {} end = System.currentTimeMillis(); System.out.println("Run Time:" + (end - start) + "(ms)");
转载于:https://www.cnblogs.com/dawuge/p/9055367.html
long start,end; start = System.currentTimeMillis(); for (int i = 0; i < 2000000000; i++) {} end = System.currentTimeMillis(); System.out.println("Run Time:" + (end - start) + "(ms)");
转载于:https://www.cnblogs.com/dawuge/p/9055367.html