中兴面试,请问下面程序输出是什么,为什么
public class test { public test(Object o){ System.out.println("object"); } public test(double[][] array){ System.out.println("arry"); } public static void main(String args[]){ test t=new test(null); } }
#Java工程师#
public class test { public test(Object o){ System.out.println("object"); } public test(double[][] array){ System.out.println("arry"); } public static void main(String args[]){ test t=new test(null); } }
相关推荐