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
In swift what is use of backticks while declaring a variable?
What is encapsulation in swift?
How does a swift transfer work?
How will you define base class?
How to declare an empty dictionary in swift?
Explain the difference between let and var in swift programming?
Do loops swift?
Explain functions?
What is the synonym of swift?
What is difference between weak and strong in swift?
What are swift categories?
What are the advantages of using swift for ios development?
What is race condition in swift?
What are the characteristics of switch?
Is swift hard to learn?