如何将不同类型的数据放到一个数组中,下面给出一个例子
Object[] os = new Object[3];
os[0] = 1;
os[1] = "lsd“
os[2] = true;
in this way ,we can take different types data into a array
如何将不同类型的数据放到一个数组中,下面给出一个例子
Object[] os = new Object[3];
os[0] = 1;
os[1] = "lsd“
os[2] = true;
in this way ,we can take different types data into a array