Iterator
An Iterator object is one that can generate new values through calling next repeatedly.
Required Fields
A method that returns the next value.
A method that returns true if it can produce a value with next.
print "hello world"An Iterator object is one that can generate new values through calling next repeatedly.
A method that returns the next value.
A method that returns true if it can produce a value with next.
print "hello world"