定义阵列大小的值大于最大阵列的大小或小于零。
The value defining the array size is larger than the maximum array size or smaller than zero.
这项缺失的其中一个常见原因是使用阵列大小做为阵列的索引。
One common cause of this defect is using an array's size as an index into the array.
如果没有指定索引上限,则会依据阵列常值中值的数目推断阵列大小。
If no upper bound is specified, the size of the array is inferred based on the number of values in the array literal.
应用推荐