Array:An array is a data structure that stores multiple values of the same type in contiguous memory locations. Elements in an array can be accessed using their index position.
Iterator: An iterator is an object that allows traversal through elements in a collection one by one. It provides methods like hasNext() and next() to check if there are more elements and retrieve them respectively.
Index:An index is a numerical value that represents the position of an element in an ordered list or data structure. It starts from 0 for the first element and increments by 1 for each subsequent element.