Write the following method that returns the sum of all numbers in an ArrayList:
public static double sum(ArrayList<Double> list)Write a test program that prompts the user to enter 5 numbers, stores them in an array list, and displays their sum.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.