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
Is swift a good language?
What is difference between single and double, in swift?
What is a guard statement?
What is difference between class and struct swift?
What is floating point number in swift? What are the different floating point numbers in swift?
Why does apple use swift?
What type of objects are basic data types in swift?
How can you write multiple line comment?
How long does a swift transfer take?
What is clean swift?
Is swift worth learning 2019?
Why is inheritance not desirable in swift?
How long does it take to learn swift?
What is string in swift?
What is an argument in swift?