Refactoring, anonymous classes

  • 13
  • Locked
Be sure that the getIterator method returns an anonymous class. Transfer the LocalIterator logic to an anonymous class. Only change the body of the getIterator method.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Justin Smith
Level 40 , Greenfield, USA, United States
14 January 2022, 18:10
The next() method is the tricky part, although the solution is actually quite simple once you get it.