Explain how you define variables in Swift language?
Answer / 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 |
What is memory leak in swift?
Is swift easier than python?
What is a type in swift?
What is nsdictionary in swift?
What is closure in swift?
What is type aliasing in swift?
What is the difference between closure and function in swift?
How to create a tuple in swift?
What is differences in swift 1.x, 2.x, 3.x, 4.x?
What is abstract class in swift?
Does apple use swift internally?
How to call objective-c code from swift?