Object数组(可以存储不同类型数据)

Object[] a= {1001,"ad",12,"qwd"};
Object[][] aa=new Object[3][];
并且能使用Arrays.toString()等方法进行数组工具操作

更多推荐

java Object数组