What is an Iterator pattern and why would you need it? Nowshow/describe the set of classes needed to implement an iteratorpattern for a channel surfing system. Your specific demonstrationof the Iterator pattern will allow the client to iterate channelsby language preference, using your iterator. Assume you have aChannel Object. Start your answer from ChannelIterator andChannelCollection interfaces and walk your way down
Expert Answer
An answer will be send to you shortly. . . . .