'length' gives the number of elements allocated, not the number inserted. So here's a loop: int i=0; while (i<array.length) {. doSomethingWith(array ...
確定! 回上一頁