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 static in swift?
What is dynamic member lookup swift?
How to pass the data between view controllers?
Can you explain any three-shift pattern matching techniques?
What is lazy var in swift?
Can you explain regular expression and responder chain?
What is optional chaining?
What is the usage of switch statement in swift language?
Can enum be extended in swift?
How can you prioritize the usability of the demand process?
How will you define base class?
What is a guard statement? What is the benefit of using guard statement in swift?
What is the difference between array and nsarray?
What is interface in swift?
What is use of enum in swift?