Q44
What will be the output of the following Java program? import java.util.*; class Output public static void addNumbers(List list) for (int i = 1; i ld = Arrays.asList(); addnumbers(10.4); System.out.println("getList(2)");
A.
1
AnswerB.
2
C.
3
D.
6
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board