Album Cover

Design Patterns Vol. 3 Java

Close Preview
Iterator Iterator
When it comes to Loans, it is essential to always read all the fine print.
The same can be said of software.
The devil is always in the details.
Read the code on the adjacent tabs carefully, and then answer the questions below.
Which of the statements below are True and which are False?
True False
All of the Iterators shown here are internal Iterators.
The next() method of the class returned by the InstrumentIteratorCreator.nullIterator() will never, under normal circumstances, be called.
Iterators should never be composed; they should never call other Iterators.
The TroubledLoanIterator and LoansOverThresholdIterator are Filtering Iterators that employ exactly the same filtering criterion.
| Tweet...
Page rating: | Rate this Page