Swift - Collections
What is wrong with this Swift code snippet?
var colors: Set = ["red", "green", "blue"]
colors.add("yellow")
var colors: Set = ["red", "green", "blue"]
colors.add("yellow")
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions