Quiz: Deduce the Outputs
In this lesson your concepts will be evaluated through a quiz.
We'll cover the following...
We'll cover the following...
Choose one correct answer.
1.
What is the output of the following code snippet?
capitals := map[string] string {"France":"Paris", "Italy":"Rome", "Japan":"Tokyo" }
fmt.Println(capitals["Tokyo"])
fmt.Println(capitals["Italy"])
fmt.Println(capitals["Paris"])
A.
Rome
B.
Japan
France
C.
Compiler Error
D.
Japan
Rome
France
1 / 4
We hope that you ...