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
Where can we test the apple iphone apps if we don’t have an ios device?
Why do we use swift? Mention some advantages of swift?
What is swift? How is it different from objective-c?
Is swift a functional language?
What is dependency injection in swift?
What is an attribute in swift?
What is nested function in swift?
Does swift support multiple inheritance?
How do I add a bridging header in swift?
Why swift is safe?
What is new features in swift 4.0?
What is lazy loading in ios swift?
What is mvc architecture in swift?
What do you do when you realize that your app is prone to crashing?
What is a static variable swift?