Beginner Go (Golang)
Q9 / 100

What is a map in Go?

Correct! Well done.

Incorrect.

The correct answer is B) A hash table providing key-value associations

B

Correct Answer

A hash table providing key-value associations

Explanation

map[string]int{"a": 1} is a map literal. make(map[string]int) initializes an empty map. Access with m["key"]; delete with delete(m, "key").

Progress
9/100