Question: What is an Iterator pattern and why would you need it? Now show/describe the set of classes needed to implement an iterator pattern for a
What is an Iterator pattern and why would you need it? Now show/describe the set of classes needed to implement an iterator pattern for a channel surfing system. Your specific demonstration of the Iterator pattern will allow the client to iterate channels by language preference, using your iterator. Assume you have a Channel Object. Start your answer from ChannelIterator and ChannelCollection interfaces and walk your way down
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
