Answers for "advantages of iterator in java"

0

advantages of iterator in java

You can remove objects using an iterator, but you can't do it with a foreach loop
Sometimes is useful to pass an iterator to a function (specially recursive ones)
Posted by: Guest on May-19-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language