Length vs. Index. When you construct an array int [] arr = new int[ 10 ] ; 10 refers to the length, which is the number of elements in the array.
確定! 回上一頁