The iterator behavioral pattern allows you to access objects in a collection or anything that contains multiple items without worrying about how this is done.
See All 304 Episodes of "Take Up Code"