What is Associative Array?
which is the same as color.red .
Associative arrays as objects
An associative array is declared or dynamically created. We can create it by assigning a literal to a variable.
Unlike simple arrays, we use curly braces instead of square brackets. Also, the content is accessed by keys, whatever the method used to declare the array.