public static void paraout(int inpara,int[] outpara){ inpara=inpara+2; outpara[0] =inpara; } public static void main(String[] args) { int inpara = 3; int outpara[] = new int[1]; int outcontent = 0; paraout(3,outpara); outcontent =outpara[0]; System.out.println(outcontent); } 最后的运行结果是5