数组元素引用

数组元素通过下标访问:arrayName[index]。下标从 0 开始,合法取值范围为 0 ~ n-1,其中 n 为数组长度。数组的长度可通过 a.length 获取。

ppt 文件大小:2.32MB