...定义一个方法以计算一维数组中的最大值并返回该值,参数为int[]型...答:System.out.println("最小值: " + min); System.out.println("最大值: " + max); }}3、啥类都不用,自己写 public class Max { public static void main(String[] args) { double[] myList = {1.9, 2.9, 3.4, 3.5,10,11,15,100,-1,-4.5}; //定义一维数...