Iterating Over a Collection Iterating a method over a collection of objects is a
ID: 3547801 • Letter: I
Question
Iterating Over a Collection
Iterating a method over a collection of objects is a common task that you may complete unknowingly each day. Within a collection of similar things, you identify the characteristics that make the individual elements unique and treat them differently according to their classifications. For example, assume that you are at a store and want to pay for something in cash. The bills in your wallet or purse represent a collection of similar objects, differentiated by denomination. It would not be very helpful to treat all of the bills the same, even though they are made from the same paper and have the same dimensions
Explanation / Answer
http://obscuredclarity.blogspot.in/2009/01/iterating-through-collection-in-java.html
this also may be very useful for you have a look at it
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.