1、在你的demo中引入hutool的jar包
2、首先我们要建立一个String类型的额数组
3、接着我们按照数组的元素类型,获取元素的类型
4、Class<?> compo艘绒庳焰nentType = ArrayUtil.getArrayType(stringClass)//根据数组元素类型,获取数组的类型
5、运行程序查看得到的结果
时间:2024-10-15 07:25:06
1、在你的demo中引入hutool的jar包
2、首先我们要建立一个String类型的额数组
3、接着我们按照数组的元素类型,获取元素的类型
4、Class<?> compo艘绒庳焰nentType = ArrayUtil.getArrayType(stringClass)//根据数组元素类型,获取数组的类型
5、运行程序查看得到的结果