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 B
Was this answer helpful ?
None.
Output:
$ javac Output.java
$ java Output
7.0
Was this answer helpful ?
More Questions on This Topic :
Question 4.
Which of these instance cannot be created?
....
Submit Solution