+ 1

What are iterators?

18th Sep 2016, 1:51 PM
violet
4 Answers
+ 6
Iterator is an object, which helps the loop to iterate. Iterator finds that, what is the next element to iterate. One after another until iteration stop by false condition. This process is called iteration.
18th Sep 2016, 2:03 PM
Shahid Islam
Shahid Islam - avatar
+ 1
Very Good Answer Shahid.
20th Sep 2016, 8:11 AM
Salman Tiwana
Salman Tiwana - avatar
+ 1
i agree salman
31st Dec 2016, 9:30 AM
Tanveer Aslam
Tanveer Aslam - avatar
0
Thankyou Salman Tiwana.
2nd Feb 2017, 3:44 AM
Shahid Islam
Shahid Islam - avatar