Swift - Collections
What will be the output of this Swift code?
let capitals = ["France": "Paris", "Japan": "Tokyo"] print(capitals["Japan"] ?? "Unknown")
let capitals = ["France": "Paris", "Japan": "Tokyo"] print(capitals["Japan"] ?? "Unknown")
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions