1、在项目中引入hutool的jar包
3、查看hutool包中的public static boolean isNotEmpty(final int... array)方法
5、运行程序查看结果为true代表数组不为空