To return a value when using try/catch you can use a temporary variable, e.g. public static double add(String[] values) { double sum = 0.0; ...
確定! 回上一頁