摘要: /* * To change this template, choose Tools | Templates * and open the template in the editor. */package maxsum;class sum{ int array1[]; int arrayend[]={0,0,0}; public sum(){} public sum(int i){ array1=new int[i]; for(int j=0;j arrayend[0])//如果此sum>此前存的值,则替换之。 ... 阅读全文