1、在你的项目中引入hutool的jar包
3、String[] strings = ArrayUtil.toArray猾诮沓靥(list, String.class);//数组元素类型
5、运行程序查看得到的结果