The iterator variable occurs three times in each loop: that is two chances to ... The for-each construct gets rid of the clutter and the opportunity for error
The iterator variable occurs three times in each loop: that is two chances to ... The for-each construct gets rid of the clutter and the opportunity for error