|
Developer Says:
There are two ways to store related data (Arrays & Collections). Both are used in certain situations. Accessing the individual elements of array creates problem as we have to traverse all the elements by using a loop to search for a specific element. There is a convinient way to access the elements of a collection by using the key. The elements inside a collection are stored as a (key,value) pair
|