Practicelt Reflection – Chapter 4a – fractionSum Consider the following solution to Practicelt Exercise 4.1: fraction Sum Solution public static double fractionSum(int n) double sum-0 sum1.0/ i; return sum; Why is it necessary to say 1.0 in the division instead of 1? Show transcribed image text Practicelt Reflection – Chapter 4a – fractionSum Consider the following solution to Practicelt Exercise 4.1: fraction Sum Solution public static double fractionSum(int n) double sum-0 sum1.0/ i; return sum; Why is it necessary
OR
OR