+1 vote
in Software Architecture by (75.2k points)
Which of the following is true about built-in external iteration control mechanism?

(a) The collection might provide with the following operations to control iterations- reset,get next,has More

(b) Reset initializes the iteration

(c) Get Next obtains the current value and the advance to the next element

(d) All of the mentioned

I have been asked this question in an interview for job.

Question is taken from Collection Iterator Pattern in section Visibility, Accessibility and Information Hiding of Software Architecture

1 Answer

0 votes
by (46.2k points)
Right choice is (d) All of the mentioned

The explanation: All of the mentioned statements are true with respect to the built-in external iteration control mechanism.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...