This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Hi there. I am currently studying for an exam for a module I do at uni called Algorithms and Data Structures. I am looking at a past paper and I'm stuck on a question and wondered if anyone could help? The question is below:
The following java code fragment illustrates the use of an iterator object to traverse the members of a set of strings:
Explain how this code works by describing each of the operations used. Explain why the typecast is needed in line 3 of this code fragment.