Swift - Variables and Constants
Identify the error in this Swift code:
let name = "Alice" name = "Bob"
let name = "Alice" name = "Bob"
namename is declared with let, making it a constant.name, which is not allowed for constants.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions