Swift - Variables and Constants
Which of the following correctly declares a mutable variable
age with an initial value of 30 in Swift?age with an initial value of 30 in Swift?var followed by the variable name and assignment to declare a mutable variable.age is valid if type is inferred or declared as Int.var [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions