long start,end; start = System.currentTimeMillis(); for (int i = 0; i < 2000000000; i++) {} end = System.currentTimeMillis(); System.out.println("Run Time:" + (end - start) + "(ms)"); 相关文章: 2021-12-24 2021-12-24 2022-12-23 2022-12-23 2021-12-15 2021-12-24 2021-10-12