package com.yhqtv.demo01.FunctionalInterface;/* * @author XMKJ yhqtv.com Email:yhqtv@qq.com * @create 2020-05-23-14:33 * */publicclassTest01{publicstaticvoid main(String[] args){long start =System.currentTimeMillis();for(int i =1; i <10000; i++){System.out.println(i);}longend=System.currentTimeMillis();System.out.println(“打印1-9999需要”+(endstart)+“毫秒”);}}

发表回复

您的电子邮箱地址不会被公开。