更新时间:2023-01-20 15:51:44
getMaxValue(array);
// get smallest number
getMinValue(array);
您正在调用方法但未使用返回值.
You are calling the methods but not using the returned values.
System.out.println(getMaxValue(array));
System.out.println(getMinValue(array));