boolean isArray() 判断类型是不是数组 Class clazz = int[].class; System.out.println(clazz.isArray()); 转载于:https://www.cnblogs.com/chenzc/p/5513516.html