This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have list object. i want to get all the elements from them. i used a method add(int index) to get all the elements from them. When i carefully looked at the API there is Interface called Iterator which can also be used to get elements out from the list. Which is the best and efficient way.. I am using JDK 1.4.2