Swift - Variables and Constants
What does the
var keyword do in Swift?var keyword do in Swift?varvar keyword is used to declare variables that can be changed after they are set.let, which creates constants, var allows the value to be updated.var means mutable variable [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions