Implement the Iterator Pattern
Exercise
In the starter code, open the IteratorExercise
class and uncomment the commented code. The uncommented code must be highlighted in red, indicating an error as to myRoster
is not iterable. Fix the error.
Solution
Please refer to the posted solution code.