+ 1

iterators

i don't understand Iterators number 2, whats the answer?

4th Sep 2020, 12:07 AM
Alexander Larson-Dick
Alexander Larson-Dick - avatar
2 Antworten
4th Sep 2020, 1:10 AM
Ayush Kumar
Ayush Kumar - avatar
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
4th Sep 2020, 2:56 AM
David