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
1.
All of the Iterators shown here are internal Iterators.
2.
The next() method of the class returned by the InstrumentIteratorCreator.nullIterator() will never, under normal circumstances, be called.
3.
Iterators should never be composed; they should never call other Iterators.
4.
The TroubledLoanIterator and LoansOverThresholdIterator are Filtering Iterators that employ exactly the same filtering criterion.
       
(Reading...)
| Tweet...
Page rating: | Rate this Page