public class StringTest {
public static void main(String[] arg){
test(new String[] { null });
}
static void test(Object[] o){
System.out.print(1);
}
static void test(String o){
System.out.print(2);
}
static void test(String...o){
System.out.print(3);
}
static void test(Object...o){
System.out.print(4);
}
}
Login in to like
Login in to comment