📅  最后修改于: 2022-03-11 14:52:48.348000             🧑  作者: Mango
public static String getSumOfArrayAndReturnStringValue(String[] array) {
double sum = 0;
for (String value : array) {
sum += Double.parseDouble(value);
}
return String.valueOf(sum);
}