使用Java随机输入如下任意类型数据(int,double,String,char,boolean),使用数组记录用户数据(1)遍历数组按照数据类型进行分类,写入不同类型的数组(2)输出所有数组内容求大佬指教