版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。public class p10 {	public static void main(String[] args) {	long start_Time = 0,end_Time = 0;	int i = 0;	//计算循环使用的时间	start_Time = System.currentTimeMillis(); //从1970-1-1到现在的毫秒	//死循环	while(true) {	if(i == Integer.MAX_VALUE) {	break;	}	i++;	}	end_Time = System.currentTimeMillis();	System.out.println("while循环结束," + i);	System.out.printf("循环使用时间是: %d 毫秒\n",(end_Time - start_Time));	start_Time = System.currentTimeMillis();	int j = 0;	for (; j