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
What is swift programming language?
What is abstract class in swift?
What are the type of integers does swift have?
What is nsdictionary in swift?
Can you explain any three-shift pattern matching techniques?
What is lazy in swift?
How does swift achieve multiple inheritance?
What is floating point number in swift?
Do loops swift?
What is argument label in swift?
What is the synonym of swift?
Can enum be extended in swift?
Is swift coding easy?
What will you do if your app is prone to crashing?
What is indexpath in swift?