单项选择题

下列遍历方式中,(   )不可以用来遍历List集合。 A.
Iterator迭代器 B.
foreach循环 C.
get()和size()方法结合 D.
get()和length()方法结合