Ask Question

What is an iterator and why is it useful for ADTs?

+2
Answers (1)
  1. 20 August, 11:33
    0
    Iterator is the element that used for transversing of any container by the user. This provides the facility to user to process any constituent belonging to the container and storage of these elements can be in any form.

    This situation takes place under the isolation condition of the user from the container's internal model. Abstract data types use iterators for the maintenance of the transversal of the data structure.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is an iterator and why is it useful for ADTs? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers