Ex:

long starttime,endtime;

       

        starttime = System.currentTimeMillis();

 

         endtime = System.currentTimeMillis();

       

        System.out.println("Time: "+(endtime-starttime)/1000+" seconds ");

arrow
arrow
    全站熱搜

    flyinsky76 發表在 痞客邦 留言(0) 人氣()