Multiple choice technology programming languages

$a=[ { name=> "rose", kids=> [ qw( ted bobby john ) ] }, { name=> "marge", kids=> [ qw( maggie lisa bart ) } ]

  1. A list of hashes which contains a list

  2. A hash of hashes which contains a list

  3. A list of list which contains another list

  4. A list of arrays and hashes containing lists

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The square brackets [ ] create a list. Inside are two hash references { } marked by curly braces. Each hash contains a key 'kids' whose value is a list created by qw( ). So it is a list of hashes, where each hash contains a list.