The author of this tip is John Zukowski, president and principal consultant of JZ Ventures, Inc. The enhanced for-loop is a popular feature introduced with the Java SE platform in version 5.0. Its ...
Should I be using one over the other? I deal with the Vector class a lot, and I was just wondering, is it more efficient to use Enumerations and e.nextElement() to loop through all of the elements in ...