标签:位置 main generated int span static code length ati
public class CeShi { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int []a={7,9,5,2,1,0,3,4,8,11}; int max=a[0]; int i=1; for(;i<a.length;i++){ if(a[i]>max){ max=a[i]; } } System.out.println(i); System.out.println(max); } }
标签:位置 main generated int span static code length ati
原文地址:http://www.cnblogs.com/zyy1130/p/6663443.html