Swift - Variables and Constants
What does the
let keyword do in Swift?let keyword do in Swift?letlet keyword is used to declare constants in Swift, meaning the value assigned cannot be changed later.var, which declares variables that can change, let ensures immutability.let means constant = A [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions