看不懂,直接问老师
public class test{
static int[] qiuCha(int[] a){
int[] b = new int[a.length - 1];
for(int i=0 ,n = 1; i
}
return b;
}
public static void main(String[] args){
int [] a = {1,20,3,44,50,36,17,80,92,10};
int[] b = qiuCha(a);
for(int i=0; i
System.out.print(b[i] + " ");
}
}
}