狂野狗

文章
5
资源
0
加入时间
3年0月28天

About myself

I have one and a half year testing experience in Huawei . During the period , involed in three projects in total .The first

Java for-each循环解惑 高级循环问题 1 Java for-each循环的第二个难题:

从Java5起,在Java中有了for-each循环,可以用来循环遍历collection和array。For each循环允许你在无需保持传统for循环中的索引,或在使用iterator /ListIterator时无需调用while循环中的hasNext()方法就能遍历collection。Java中,for-each循环简化了任何Collection或array的遍历过程,但并不是每个Jav