First, what do they mean by “manual counting loop”?
I guess they mean
for(int i=0;i<list.size();i++) {
list.get(i);
}
Secondly, why is this true only for arraialists, and not for other collections?
ArrayList Iterator . ( , , )
, . LinkedList, Iterator, get(n) . Set get(n)