Explain how you define variables in Swift language?
Answer Posted / iosraj
Variables and constants must be declared before they are used. You announce constants with the let keyword and variables with the var keyword. Both variables and dictionaries are described using brackets. For example,
Var Guru99 = “This is Guru99”
Let ksomeconstant = 30
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which is the superclass of all the view controller objects?
What is the difference between closure and function in swift?
How you define variables in swift?
Is multiple inheritance possible in swift?
What mechanism does ios support for multi-threading?
What is difference between xcode and swift?
Explain some design patterns which we normally use during the app development.
How multiple line comment can be written in swift?
What are functions in swift?
What do you mean by initialization?
What are ui elements?
Is swift dynamic or static?
What language is swift most similar to?
What is a function in swift?
What is static in swift?