Question: Which code would you use to access the Irish flag?
- flagDatabase.countries[0].flag
- flagDatabase.countries[1].flag
- flagsJSON.countries[0].flag
- flagDatabase[1].flag
Answer: The correct answer of the above question is Option A:flagDatabase.countries[0].flag