boolean isArray()

判断类型是不是数组

Class clazz = int[].class;

System.out.println(clazz.isArray());

05-11 20:51