+ 1
iterators
i don't understand Iterators number 2, whats the answer?
2 Antworten
+ 1
https://en.m.wikipedia.org/wiki/Iterator
Have a look
0
Here in the java doc you can see the methods you can use with an iterator https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html
And here is a well explained example https://www.w3schools.com/java/java_iterator.asp
If you still have trouble to understand it I recommend the video by telusko for the iterator interface https://youtu.be/O6DpXvlwWYg