【单选题】听力原文:M: I wish I hadn't thrown away that reading list! W: I thought you might regret it. That's why I picked it up from the waste paper basket and left it on the desk. Q: What do we learn from the con...
【单选题】听力原文:W: I’m making a list have we run out of anything? M: Yes, I’ve run out of tissues. Could you pick some up for me? Q: Where are they planning to go? (15)
【单选题】ArrayList 的初始化内容如下: ArrayList list = new ArrayList(); list.add( "java" ); list.add( "aaa" ); list.add( "java" ); list.add( "java" ); list.add( "bbb" ); 下面可以删除 list 中所有的 “java” 的代码是 ( ) A. for ( int i ...
A.
for ( int i = list.size()-1; i >= 0; i--) { if ( "java" .equals(list.get(i))){ list.remove(i); } }
B.
for ( int i =0; i if ( "java" .equals(list.get(i))){ list.remove(i); } }