Question
import java.util.*;
class Output {
public static double sumOfList(List
What is the output of this program?
import java.util.*;
class Output {
public static double sumOfList(List
Answer: Option D
Was this answer helpful ?
None.
Output:
$ javac Output.javac
$ java Output
6.0
Was this answer helpful ?
Submit Solution