Object Oriented Programming (OOPs)
© examsiri.com
Question : 37 of 72
Marks:
+1,
-0
Given:
what is the result?
25. A a = new A();
26. System.out.println(a.doit(4, 5));
1. public class A {
2.   public String doit (int x, int y) {
3.    return "a";
4.   }
5.   public String doit (int ... vals) {
6.    return "b";
7.   }
8. } what is the result?
Go to Question: