What is the output of the following program?
public class ObjectTest {
public static void main(String[] args) {
ObjectTest ob = new ObjectTest();
ob.myMeth(2, 3.0, "Welcome", "Merit", "Campus");
String[] s = {"Hai", "Hello"};
ob.myMeth(4, 5.0, s);
}
public void myMeth(int i, float f, String... s) {
System.out.println(i + " " + f + " " + s.length);
}
public void myMeth(int i, float f, String[] s) {
System.out.println(i + " " + f + " " + s.length);
}
}