Complete the code to declare an associative array named 'colors'.
declare [1] colorsUse declare -A to create an associative array in bash.
Complete the code to assign the value 'blue' to the key 'sky' in the associative array 'colors'.
colors[[1]]=blueKeys in associative arrays should be quoted strings to avoid errors.
Fix the error in the code to print the value of the key 'sky' from the associative array 'colors'.
echo ${colors[1]Use square brackets [] to access associative array elements in bash.
Fill both blanks to declare an associative array and assign 'red' to key 'apple'.
declare [1] fruits; fruits[[2]]=red
Use declare -A to declare associative arrays and quote keys when assigning values.
Fill all three blanks to create an associative array 'person', assign 'John' to 'name', and print it.
declare [1] person; person[[2]]=John; echo ${person[3]
Declare with -A, assign with quoted key, and access with square brackets including quotes if needed.