public class vararg {
static void show(int ... a) {
System.out.println("varchar ---"+a[0]);
}
static void show(Object o,Object o1) {
System.out.println(o);
}
public static void main(
String[] args) {
show(1,2);
}
}
please explain how the method show(Object o,Object o1 ) is called for show(1,2).