java方法返回多个值 用户25046451741 2022-10-04 89 阅读1分钟 返回一个数组 public double[] getBH(){ double temp[] = {base, height}; return temp; }