1.

In the below code, which call to sum() method is appropriate? class Output { public static int sum(int ...x) { return; } static void main(String args[]) { sum(10); sum(10,20); sum(10,20,30); sum(10,20,30,40); } }

A. Only sum(10)
B. Only sum(10,20)
C. Only sum(10) & sum(10,20)
D. All of the mentioned
Answer» E.


Discussion

No Comment Found